Home Cart [Log In] About Us Contact Us

Object Reference

xf_StringCaseSensitiveString Functions

Public Function TrimStart (
s As String,
Optional AddlTrimChars = ""
) As String

Trim whitespace (space, tab, CR, LF) and additional specified chars from the start of the string.

s as String

The string to trim

Optional AddlTrimChars as Variant = ""

More characters to trim from the string

Call Template:

Dim s As String
s = xf.StrCS.TrimStart(s)
s = xf.StrCS.TrimStart(s, AddlTrimChars)

See Also:

Example 1:

xf.Str.TrimStart("   %%Hi there")        => %%Hi there
xf.Str.TrimStart("   %%Hi there", "%")   => Hi there
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd