Thread: strlen + #e
View Single Post
  #1  
Old 01-25-2004, 09:21 PM
Blue_Dragn Blue_Dragn is offline
Registered User
Join Date: Jul 2003
Posts: 302
Blue_Dragn is on a distinguished road
strlen + #e

well im having a little scriptproblem

what i want is for it to take each letter of a string one by one, but i dont think im doing it quite right

NPC Code:

...
for (i=0;i<strlen(#s(this.word));i++) {
setstring this.word2,#e(i,1,#s(this.word));
}
...



i guess thats where ive narrowed it to not working, because it wont take it piece by piece.
__________________
No longer a Advertisement Goat
Reply With Quote