Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_StringCaseSensitiveString Functions

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

Trim whitespace (space, tab, CR, LF) and additional defined chars from the end 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.TrimEnd(s)
s = xf.StrCS.TrimEnd(s, AddlTrimChars)

See Also:

Example 1:

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