|
Scott, (and Hans), this seems like it should be the ticket, except I don't know how to use it. what is the syntax for 'pattern' (which is where, i guess, i should put my compare string with wildcards)? I've looked in the C runtime guide, and it's less than helpful. thanks, rick ---original message--- You can do this, and much, much more, with regular expressions. The ILE C library has functions called "regcomp", "regexec", "regfree" for doing this sort of thing. I posted a sample a while back, you can find it in the archives here: http://archive.midrange.com/rpg400-l/200105/msg00106.html
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.