Home Cart [Log In] About Us Contact Us

Object Reference

xf_StringCaseSensitiveString Functions

Public Function InStrIdentifier (
start As Long,
str As String,
find As String,
Optional compare As VbCompareMethod = vbDatabaseCompare
) As String

Find the index of the first occurrence of an alphanumeric identifier in a string. The identifier must be surrounded by non alphanumeric characters or at the start or end of the string.

start as Long

The start position for the search

str as String

The string to search

find as String

The identifier to remove

Optional compare as VbCompareMethod = vbDatabaseCompare

vbBinaryCompare for case sensitive search, or vbTextCompare for case insensitive

Call Template:

Dim s As String
s = xf.StrCS.InStrIdentifier(start, str, find)
s = xf.StrCS.InStrIdentifier(start, str, find, compare)

See Also:

Example 1:

xf.Str.InStrIdentifier("(Pos + StartPos + EndPos) * Pos", "Snapper")     => (Snapper + StartPos + EndPos) * Snapper
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd