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.

Code Snippets / String Tokenizer

Author
Message
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 16th Jan 2004 07:38
Not sure how many languages have a class like this, but it's in java. A token is basically a chunk, or substring, of a string. Right now, it only handles single character delimiters. nextToken$() is an iterative function. So everytime you call it, it'll give the next token from the string.

"eureka" - Archimedes
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 16th Jan 2004 18:01
This is one area that DBPro falls down. It really does need some of the basic string comands that virtually every other language has. There are some plugins around that do this sort of stuff but in my opinion they should be built-in.

Boo!

Login to post a reply

Server time is: 2024-11-24 00:32:20
Your offset time is: 2024-11-24 00:32:20