Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WordFile.Contains

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

Parameters

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

Result

Returns 1 or 0 or error.

Description

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