I have a string variable with many words seperated by a whitespace and I want to remove the words which contain more than 4 Characters from that variable,Can anyone show me how to do this,Have a Good Day.
Develop games in your browser. Powerful, performant & highly capable.
Variable text="your text here...." Variable result="" Repeat tokencount(text, " ")-1 times if len(tokenat(text, loopindex, " "))<5 Set result to result & tokenat(text, loopindex, " ") & " " // after the loop - trim to remove space at the end: set result to trim(result)