Author Topic: Remove the first character from a string  (Read 561 times)


Simple:
Code: [Select]
%string = getSubStr(%string, 1, strLen(%string) - 2);

thanks
didn't work
« Last Edit: January 17, 2012, 01:58:59 PM by swollow »

thanks
didn't work
Don't have access to Blockland right now, but from memory, I think it's:

getSubStr(source, starting point, num of characters)

Code: [Select]
%string = getSubStr(%string, 1, strLen(%string));
That should do it.

If not, just type in getSubStr(); and it will output guidelines for that function. Almost all engine functions do that.

thanks
didn't work
What do you mean.
edit: oshoot thats right
here you go:
Code: [Select]
%string = getSubStr(%string, 1, strLen(%string) - 1);

Iban's method worked so I'll stick to that but thanks anyway Ipquarx