- Home
·
- String Manipulation
·
- Selects every character from the left side of a string, up until a specified character.
Selects every character from the left side of a string, up until a specified character.
Selects every character from the left side of a string, up until a specified character.
Rate Selects every character from the left side of a string, up until a specified character.
(1(1 Vote))
If Trim(str) = "" Or Character = "" Then Exit Function
'get the selection if the character exists, if it doesnt,Left() returns an empty str
Left2Char = Left(str, InStr(1, str, Character, CompareMode))
End Function
Selects every character from the left side of a string, up until a specified character. Comments
No comments yet — be the first to post one!
Post a Comment