Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_StringCaseSensitiveString Functions

Public Function Remove (
str As String,
StartPosition As Long,
Optional Length As Long = -1
) As String

Remove characters from StartPosition to end, or for Length characters

str as String

The string to remove characters from

StartPosition as Long

The start position for removal

Optional Length as Long = -1

The number of characters to remove, or -1 to remove to the end of the string

Call Template:

Dim s As String
s = xf.StrCS.Remove(str, StartPosition)
s = xf.StrCS.Remove(str, StartPosition, Length)

See Also:

Example 1:

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