TermScreenedText: String;
The TermScreenedText property returns the term name with the escaped characters.
The \ symbol is used for character screening. If the string contains the \ symbol, then the next symbol is recognized as a string.
Executing the example requires the Info term passed as the function input parameter.
Add a link to the Ms system assembly.
Sub UserProc(Info: IMsFormulaTermInfo);
Begin
Debug.WriteLine("Term name without escaped characters: " + Info.TermText);
Debug.WriteLine("Term name with escaped characters: " + Info.TermScreenedText);
End Sub UserProc;
After executing the example the console window displays the term name in different formats. For example:
Term name without escaped characters: {FC_COMM_26!Af{ghanistan[t]}
Term name with escaped characters: {FC_COMM_26!Af\{ghanistan[t]}
See also: