M
Maury Markowitz
When you're building up a big string out of delimited optional
"stringlettes", the syntax can get pretty messy. For instance, lets
say we're building up a comma delimited list (because I am)...
If something Then
if len(myString)>0 Then myString = myString & ","
myString = myString & something
end if
If somethingelse Then
if len(myString)>0 Then myString = myString & ","
myString = myString & somethingelse
end if
I seem to recall there is a syntax to make a sort of "optional
contact" function using the "+" function instead of the "&". IIRC it
is something like...
myString = (myString + ",") & "350,400,1866"
But that's not it. Anyone know the trick?
Maury
"stringlettes", the syntax can get pretty messy. For instance, lets
say we're building up a comma delimited list (because I am)...
If something Then
if len(myString)>0 Then myString = myString & ","
myString = myString & something
end if
If somethingelse Then
if len(myString)>0 Then myString = myString & ","
myString = myString & somethingelse
end if
I seem to recall there is a syntax to make a sort of "optional
contact" function using the "+" function instead of the "&". IIRC it
is something like...
myString = (myString + ",") & "350,400,1866"
But that's not it. Anyone know the trick?
Maury