Blockland Forums > Modification Help

Splitting a String

Pages: << < (2/2)

Fluff-is-back:

Is there a way that I can get the first word as one variable and the rest of the string as another?

If so, How?

Chrono:

%var1 = getWord(original string, 0);
%rest = getwords(original string, 1, getWordCount(original string)-1);

Fluff-is-back:

Thanks again.  :cookieMonster:

Pages: << < (2/2)

Go to full version