Author Topic: Going through a word letter by letter?  (Read 1268 times)

I figured use a loop so I done this:

Code: [Select]
for(%i=0;%i<strLen(%word);%i++)
which is fine but then I need to get the letter so if the loop was starting it would return the first letter of the word and so on. this is where I ran into the problem, There's no function that returns the letter in that position (or I've missed it), so yeah help?

Code: [Select]
for(%i=0;%i<strLen(%word);%i++){
%char = getSubStr(%word, %i, 1);
}
I thought you would have known this... =/

Code: [Select]
for(%i=0;%i<strLen(%word);%i++){
%char = getSubStr(%word, %i, 1);
}
I thought you would have known this... =/

I just got back from london after partying till 1am :(