Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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...."
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)