Kaway Posted January 20, 2015 Share Posted January 20, 2015 [HIDE-THANKS]The Split function is an useful tool when you want to split a string by a character. Altough it isn't implemented in VB5, you can write your own. Set splitChar parameter to the delimiter you want and str1 is the string you want to split; intPos is the position of the word in the string. The indexing is 0 based (or 1-based if you have Option Base 1 set). Example: MsgBox Split(",", "This,is,a,test", 2) ' This is the hidden content, please Sign In or Sign Up [/HIDE-THANKS] Link to comment Share on other sites More sharing options...
Recommended Posts