Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  


Checks if some text exists in the document.

Component Version macOS Windows Linux Server iOS SDK
WordFile 11.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "WordFile.Contains"; WordFile; FindText )   More


Parameter Description Example
WordFile The reference number of the open word file. $wordFile
FindText The text to look for. "$City"


Returns 1 or 0 or error.


Checks if some text exists in the document.
This is like WordFile.HasTag function, but doesn't require markers around the text in the document.

See also

Release notes

Blog Entries

This function checks for a license.

Created 8th August 2021, last changed 8th August 2021

WordFile.AppendTableRow - WordFile.DuplicateTableRow

💬 Ask a question or report a problem