0
 Followers
4
 Likes

New Text Function: Contains

Builtin & User functions
New

Similar to the existing Index function, I would love to see a new Contains function to be used in expressions.

It would sit in Built-in Functions > Text, and be something along the following:

Contains(t, search)

Contains function : data type Boolean

Returns a value indicating whether a specified substring occurs within this string. Returns true if the search parameter occurs within this string, or if search is the empty string (""); otherwise, false.

Inputs:

t : mandatory; data type Text

The Text where the search Text can be found.

search: mandatory; data type Text

The Text string to be found.



Created on 13 Jul
Comments (2)

Changed the category to Builtin & User functions


What's the advantage over using Index(a, b) >= 0 ?

J.Ja

views
58
Followers
0