Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / bug to report using (getstringtoken & getstringtoken2)

Author
Message
SoftMotion3D
AGK Developer
18
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 17th Sep 2018 02:49 Edited at: 17th Sep 2018 03:13
edit: DOH! i was doing some string work before my current lines that removed the space... sorry not a bug....well in my code yes...agk no

the bug is that it fails to recognize a space when it delimits data (using windows....dont know if its all platforms issue)
an example would be
text$="nospacesentence=has spaces in it but will lose them"
a$=getstringtoken(text$,"=",2) /// the answer will be a$="hasspacesinitbutwilllosethem"
also tried this with getstringtoken2 and same result.

Login to post a reply

Server time is: 2024-04-24 05:41:09
Your offset time is: 2024-04-24 05:41:09