Hi,
How do I extract a substring from a certain position?
Example:
------------------------------------------------
char MyStr[255];
char MySubStr[10];
MyStr = "Hello hello, this is a test text to extract a substring from.";
-------------------------------------------------
Now I want to set MySubStr to the string that starts at position 14 and is 10 characters long (='this is a ').
Thanks,
Sunaj
How do I extract a substring from a certain position?
Example:
------------------------------------------------
char MyStr[255];
char MySubStr[10];
MyStr = "Hello hello, this is a test text to extract a substring from.";
-------------------------------------------------
Now I want to set MySubStr to the string that starts at position 14 and is 10 characters long (='this is a ').
Thanks,
Sunaj