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
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've encoutnered that:
tokenCount("",",") = tokenCount("foo",",")= 1
Is this really correct result for this expression?
I would think an empty string should have 0 tokens.
Develop games in your browser. Powerful, performant & highly capable.
Oops, good find, will fix for next build.
TokenCount returns 1 more than the number of tokens in a string. If there are no tokens, it returns 1. I guess this is related to this closed bug. I am on C2 Beta R87 64 bit. Capx for testing is attached.