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
Hello,
I have strings like this eg.
123456-NAME-XXX
what i need is to extract only letters (name) between "-" delimiters
any tips?
i can even set string as this:
123456-NAME
or this
123456NAME
and remove only numbers?
Tnx!
Taking the 123456-Name example, the 'Name' can be extracted using "tokenat('123456-Name', 1, '-')"
briggybros
thanks,
but will this work becouse numbers and letters are random, not allways the same.
i feel it must be with some range from 0-9... but cant find range expression... no?
Develop games in your browser. Powerful, performant & highly capable.
if the numbers and letters are always separated by a '-', then that expression will always get the second part.
thanks!
iw made it!!!!