Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_StringCaseSensitiveString Functions

Public Function Replace (
str As String,
find As String,
Optional ReplaceWith As String = ""
) As String

Same as the VBA builtin 'Replace', but having it here allows easy selection of case sensitivity

str as String

The string to search

find as String

The string to find

Optional ReplaceWith as String = ""

The string to replace found occurences

Call Template:

Dim s As String
s = xf.StrCS.Replace(str, find)
s = xf.StrCS.Replace(str, find, ReplaceWith)

See Also:

Example 1:

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