TermsConverterSplitDecodedTermText(ListString, Int32, Int32, Boolean, ContextVariables) Method

Splits decoded term text to the separate parts: main text, subscript and superscript.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.74.9654.0
C#
public static string[] SplitDecodedTermText(
	List<string> txt,
	int subPos,
	int superPos,
	ref bool containsFields,
	ContextVariables vars = null
)

Parameters

txt  ListString
List of chars of Term text.
subPos  Int32
Start position of the bottom index.
superPos  Int32
Start position of the bottom index.
containsFields  Boolean
Whether specified text contains fields or not.
vars  ContextVariables  (Optional)
Variables to use for document fields in the context of current document (can be null).

Return Value

String
Array of the decoded term text parts in the following order: main text, subscript and superscript.

See Also