guitardave78
Programmer
Hey there guys and gals.
Sting manipulatio, my worst subject
I have a string that looks like this
"-username blah -password blahblah -root c:\blah"
I need to get those values into
dim username as string, password as string, root as string
username = "blah"
password = "blahblah "
root = "c:\blah"
i would normally split it by splitting on the "-" then splitting each bit by " ", but there may be spaces int the actuall strings so i can just do a simple split
Cheers
}...the bane of my life!
Sting manipulatio, my worst subject
I have a string that looks like this
"-username blah -password blahblah -root c:\blah"
I need to get those values into
dim username as string, password as string, root as string
username = "blah"
password = "blahblah "
root = "c:\blah"
i would normally split it by splitting on the "-" then splitting each bit by " ", but there may be spaces int the actuall strings so i can just do a simple split
Cheers
}...the bane of my life!