May 26, 2024, 01:58:09 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Where can I find string functions such as pattern matching, split, etc.

Started by myql, March 20, 2009, 12:16:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

myql

EB has some useful string functions, but are there some higher level functions in Windows DLLs, such as for matching regular expressions, turning a delimited string into an array, etc? If they exist, how do I find them? I don't want to reinvent them if I don't have to.

billhsln

Here are 2 programs that I wrote.  COMMA_DELIMIT.EBA will parse a standard Comma Delimited files (See comments in program).  TAB.EBA will parse a Tab delimited file (CHR$(9)).

I am not exactly sure what you mean by pattern matching, but hopefully these 2 programs will help.

Bill
When all else fails, get a bigger hammer.