Delimited Strings


Delimited strings are strings that contain different fields separated by a single delimiter character. For example an ordinary sentence is a series of words separated by a single space. A text record in a file may contain a series of fields separated by a comma. A file path is a series of directory names separated by a slash "/".


Here are a few examples of delimited strings.

"The quick brown fox jumped over the moon."

"John,Smith,Programmer,Mintoris"

"MyDir/invoices/daily"


There is a set of Basic functions designed to deal with delimited strings. For the purposes of this manual, individual fields within a delimited string are referred to as Items.

The following functions count, locate, insert, extract and remove individual items within delimited strings.


ItemAdd$()


ItemCount()


ItemExtract$()


ItemInsert$()


ItemJoin$()


ItemLocate()


ItemRemove$()


ItemReplace$()


ItemSplit$()






Become a Patron