TermsConverter.TryGetIndexOfPreviousChar Method

Gets a previous character of the given text if applicable.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public static bool TryGetIndexOfPreviousChar(
	SessionProfile sessionProfile,
	string text,
	int position,
	out int index
)

Parameters

sessionProfile  SessionProfile
Session parameters.
text  String
Text to find previous character in by the given position.
position  Int32
Cursor position to find previous character for.
index  Int32
Result index of the previous text character.

Return Value

Boolean
A previous character of the given text if applicable.

See Also