Table of contents
TOC
Collapse the table of content
Expand the table of content

Text.Contains

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

Returns true if a text value substring was found within a text value string; otherwise, false.

Text.Contains(string as nullable text, substring as text, optional comparer as nullable function) as nullable logical  

Arguments

ArgumentDescription
stringThe text to parse.
substringThe text to search for.
optional comparerThe optional culture aware comparer function can be provided.

Examples

Text.Contains("abc", "a") equals true  
Text.Contains("abc", "d") equals false  
© 2018 Microsoft