Home Cart [Log In] About Us Contact Us

Object Reference

xf_StringCaseSensitiveString Functions

Public Function RemoveFromEnd (
str As String,
EndsWithString As String
) As String

If the string ends with the search string, remove the search string from the end. Otherwise return the passed string unaltered.

str as String

The string to search

EndsWithString as String

The string to match

Call Template:

Dim s As String
s = xf.StrCS.RemoveFromEnd(str, EndsWithString)

See Also:

Example 1:

xf.Str.RemoveFromEnd("The King's counting house", " house")     => The King's counting
xf.Str.RemoveFromEnd("The King's counting house", "counting")   => The King's counting house
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd