bobbyforhire
Technical User
I am looking to find a way to read a string and export valuse as needed.
For example string will contain this.
BOBBY, 15.00, 26.50, 33.00
AND OR
BOBBY,BOBBY 150.00, 260.00, 33.00
The name might contain an extra comma and or might contain an extra space in it.
The name and amount will be diffrent every time.
In the end i'm looking to put this into a field on the vb form.
Name: BOBBY,BOBBY
Ammount: 150.00
I'm using VB/vs2008 and can't for the life of me figure this one out. i'm guessing some sort of string manipulation
So really, is there any way i can tell VB to read a string until it reaches a Number. And is there any way i can tell it to read the number after it until it reaches a comma.
Thanks in advance.
For example string will contain this.
BOBBY, 15.00, 26.50, 33.00
AND OR
BOBBY,BOBBY 150.00, 260.00, 33.00
The name might contain an extra comma and or might contain an extra space in it.
The name and amount will be diffrent every time.
In the end i'm looking to put this into a field on the vb form.
Name: BOBBY,BOBBY
Ammount: 150.00
I'm using VB/vs2008 and can't for the life of me figure this one out. i'm guessing some sort of string manipulation
So really, is there any way i can tell VB to read a string until it reaches a Number. And is there any way i can tell it to read the number after it until it reaches a comma.
Thanks in advance.