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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

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


WordFile.AppendTableRow - WordFile.DuplicateTableRow

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins

Start Chat