Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_GeneralGeneral Functions

Public Function DelimElement (
DelimStr As Variant,
ElementIndex As Integer,
Optional Delimiter As String = ","
) As Variant

Return the nth element (starting at 1) of the delimited string

delimiter

The delimiter

DelimStr as Variant

The delimited string

ElementIndex as Integer

The 1-based index of the element required

Optional Delimiter as String = ","

(no description)

Call Template:

Dim v As Variant
v = xf.Gen.DelimElement(delimiter, DelimStr, ElementIndex)
v = xf.Gen.DelimElement(delimiter, DelimStr, ElementIndex, Delimiter)

See Also:

Example 1:

DelimElement("one,two,three,four", 3)   => three
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd