I'm writing code in vb 6. I need to get the left value of a string before the "-'. What is the syntax to do this.
Example:
sTestNumber is a string and the value is "Parks-87364-2734". I want to save
"Parks" into the string value sNameOnly.
What is the code to accomplish this?
Thanks,
Example:
sTestNumber is a string and the value is "Parks-87364-2734". I want to save
"Parks" into the string value sNameOnly.
What is the code to accomplish this?
Thanks,
Comment