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] GetStringToken2() only uses the first character in the delimiter string (GetStringToken() works ok)

Author
Message
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 23rd Oct 2018 23:01
Bengismo
6
Years of Service
User Offline
Joined: 20th Nov 2017
Location: Yorkshire, England
Posted: 23rd Oct 2018 23:29
NOT A BUG!

The documentation for GetStringToken2() states:

Similar to GetStringToken, except that this command accepts only a single character as the delimiter

https://www.appgamekit.com/documentation/Reference/Core/GetStringToken2.htm

So, it is only meant to check a single character. Always worth reading the documentation.
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 24th Oct 2018 00:13 Edited at: 24th Oct 2018 00:14
Damn damn damn and double damn!

I looked at the parameters list which says "delimiter - The characters that delimits the string."

Login to post a reply

Server time is: 2024-04-20 00:36:40
Your offset time is: 2024-04-20 00:36:40