Click to See Complete Forum and Search --> : quick question on strings!


dave b_SRD
November 30th, 2000, 06:21 AM
Hello,
I'm new to VB, can anyone tell me if there is an equivalent to the
sscanf()
C function???

I need to process a string that is in a specific format. It is comma separated and I need to extract the values from between the commas and store them in variables.

Thanks,
D.

TH1
November 30th, 2000, 06:27 AM
You can use the split function in VB6 to store the elements in an array

ecannizzo
November 30th, 2000, 10:34 AM
You can use the instr() function to find the commas and then the mid() function to get the stuff in between the commas and put them in a variable.