by Steve Jones (1 Submission)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 1st October 2007
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Take one string and makes it into two peices. Will take something like this "BOB:123456", and turn it into 2 string one with value of "BOB"
rem into 2 seperate string.
rem example, the fox & the hound
rem num1 = the fox, num 2 = the hound
rem where "&" is you can replace with any character you want to split a string
rem with.
num1 = Left(text1.Text, InStr(text1.Text, "&") - 1)
num2= Mid(text1.Text, InStr(text1.Text, "&") + 1, Trim(Len(text1.Text)) - 1)
text2.text = num1
text3.text = num2
No comments have been posted about Take one string and makes it into two peices. Will take something like this BOB:123456, and turn . Why not be the first to post a comment about Take one string and makes it into two peices. Will take something like this BOB:123456, and turn .