Is there a way to get all the characters to the left of a blank ? i.e “Jacob M”, just get Jacob
Subject: @Left in lotusscipt
Try @LeftBack(“String”;" ")
Subject: Please see “Language cross-reference” in the Help documentation…
While the other responses have already provided you the answer, I thought I’d show you how you can find this on your own. As shown below, in the Designer Help file, there is a section called “Language cross-reference” that shows the equivalents in other programming languages.
@Left( stringToSearch ; numberOfChars )
@Left( stringToSearch ; subString )
Parameters
stringToSearch
Text. The string where you want to find the leftmost characters.
numberOfChars
Number. The number of characters to return. If the number is 2, the first two characters of the string are returned; if the number is 5, the first five characters are returned, and so on. If the number is negative, the entire string is returned.
subString
Text. A substring of stringToSearch. @Left returns the characters to the left of subString. It finds subString by searching stringToSearch from left to right.
Return value
resultString
Text. The leftmost characters in stringToSearch. The number of characters returned is determined by either numberOfChars or subString. @Left returns “” if subString is not found in stringToSearch.
Language cross-reference
Left function of LotusScript language
StrLeft function of LotusScript language
Subject: *Teach a man to fish, and he’ll smell like fish for a lifetime, eh?
Subject: Yup, better than being fed just for a day!
Subject: @Left in lotusscipt
see the strleftback function in help
Subject: @Left in lotusscipt
temp = StrLeft(, " ")