dimanche 1 mars 2015

How to remove last part of string in c

I am doing a program in C, and currently I'm having problems. I don't know how to remove the last part of the string. For example:



char str[100] = "one => two";


I want to remove => two. Can you help me? Thanks in advance.


Aucun commentaire:

Enregistrer un commentaire