This posting is a reply to eDias' recent post asking how to extract info from a string. I had to do a separate posting because he posted using some type of editor that placed HTML adverstising crap inline, which hoses up any follow on postings.

[eDias: please do not use editors that do that in a future articles you may post].


Attached is *.inc file with two functions I use to extract sub-strings from other strings, based on patterns. While not as good as regular expression processing in Unix-land they should get the job done for you.

The file was uploaded as a Silk *.inc formatted file, even though it got converted by this board to a *.txt file.

-fyi, Terry Horwath