Skip to main content

TrText_NOTText (function reference)

By October 1, 2024October 10th, 2024Online Help, Troi Text Plug-in
Troi Text Plug-in for FileMaker Pro

TrText_NOTText

Returns all lines in text1 that are NOT in text2.

SyntaxFunction badge

TrText_NOTText ( switches ; text1 ; text2 )

Parameters

switches (optional) determine the way the result is returned
text1 first text
text2 second text

Switches

Switches can be empty or:

-ReturnAtEnd add a return character at the end
-Unused use this to make clear switches are not used, you can also use ""

Returned Result

Data type returned

Text

Result

All lines in text1 that are NOT in text2.

Originated in

Troi Text Plug-in 1.2

Compatibility

FileMaker Pro 17 to FileMaker Pro 21 (2024)

Considerations

The order in which you give the 2 text parameters is important, unlike ANDText and XORText.
This is one of the 3 set manipulation functions.

Example

Set Field [ result ; TrText_NOTText ( "-Unused" ; Text1 ; Text2 ) ]

If Text1 contains:
AA
BB
and Text2 contains:
BB
CC
then the result will be:
AA

Related functionsFunction badge

TrText_ANDText
TrText_XORText

Related topics

Troi Text Plug-in online help (overview)


Online Help Page for Troi Text Plug-in for 17 to 2024 –> TrText_NOTText (textp8) 2024-1010 14:46:11