Page 1 of 1

remove part of text

PostPosted: Sat Nov 05, 2011 9:11 pm
by Fojam
is it possible to remove the beginning of a line of text?

for example, the text says: Thisisanexample
I want to take the beginning of that text off so it just says: example

Re: remove part of text

PostPosted: Sat Nov 05, 2011 10:42 pm
by skydereign
Yeah, you can. Here's an example.
text_actor -> Create Actor -> Script Editor
Code: Select all
char original_string[30] = "Thisisanexample";
strcpy(text, &original_string[8]);