Jump to content
YOUR-AD-HERE
HOSTING
TOOLS
992Proxy

Locked Simple Split Function for VB5


Kaway

Recommended Posts

[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

[/HIDE-THANKS]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.