Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_GeneralGeneral Functions

Public Function DelimListQuoteElements (
DelimStr As String,
Optional Delimiter As String = ",",
Optional DoubleQuotes As Boolean = False
) As String

Step through each element in the delimited string and trim and quote it, returning the new delimited string

delimiter

The delimiter

DelimStr as String

The delimited string

Optional Delimiter as String = ","

(no description)

Optional DoubleQuotes as Boolean = False

Quote with double quotes instead of single quotes

Call Template:

Dim s As String
s = xf.Gen.DelimListQuoteElements(delimiter, DelimStr)
s = xf.Gen.DelimListQuoteElements(delimiter, DelimStr, Delimiter, DoubleQuotes)

See Also:

Example 1:

DelimListQuoteElements("Smith,Jones,O'Leary,Andress")   => "'Smith',' Jones ','O''Leary','Andress'"
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd