Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_GeneralGeneral Functions

Public Sub AddToStringText (
ByRef baseStr As String,
s As String,
Optional Delimiter As String = vbCrLf
)

Add text to a control, separated by a delimiter, unless the text is already present.

delimiter

The default delimiter.

ByRef baseStr as String

The string to add the text to.

s as String

The text to add.

Optional Delimiter as String = vbCrLf

(no description)

Call Template:

xf.Gen.AddToStringText delimiter, baseStr, s
xf.Gen.AddToStringText delimiter, baseStr, s, Delimiter

See Also:

Example 1:

Dim LanguagesSpoken as String
AddToControlText LanguagesSpoken, "Italian", ", "   => s = "Italian"
AddToControlText LanguagesSpoken, "German", ", "    => s = "Italian, German"
AddToControlText LanguagesSpoken, "Greek", ", "     => s = "Italian, German, Greek"
AddToControlText LanguagesSpoken, "Italian", ", "   => s = "Italian, German, Greek"
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd