TermsConverter.TryGetIndexOfPreviousChar Method
Gets a previous character of the given text if applicable.
Namespace: SMath.ManagerAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
public static bool TryGetIndexOfPreviousChar(
SessionProfile sessionProfile,
string text,
int position,
out int index
)
Public Shared Function TryGetIndexOfPreviousChar (
sessionProfile As SessionProfile,
text As String,
position As Integer,
<OutAttribute> ByRef index As Integer
) As Boolean
public:
static bool TryGetIndexOfPreviousChar(
SessionProfile^ sessionProfile,
String^ text,
int position,
[OutAttribute] int% index
)
static member TryGetIndexOfPreviousChar :
sessionProfile : SessionProfile *
text : string *
position : int *
index : int byref -> bool
- 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.
BooleanA previous character of the given text if applicable.