How do I divide a string, strData, that contains the information "str1|str2|str3|str4" so that each string of information in between the "|" gets assigned its own string?
Printable View
How do I divide a string, strData, that contains the information "str1|str2|str3|str4" so that each string of information in between the "|" gets assigned its own string?
use the split function --- look it up in the online help
Dim strParts() As String
strParts = Split(MyString,"|")