TokenIndexAtChar

Method

Returns the index of the token that contains the indicated character

Product: 

Class: 

Warning

uCalc API Preview Release Notice:The uCalc engine has successfully transitioned to modern cross-platform environments.The next phase envolves some structural changes, performance optimizations, and API refinements.The API is subject to breaking changes prior to the stable release. Please evaluate the preview version thoroughly before production use.

Syntax

TokenIndexAtChar(int)

Parameters

CharacterPosition
int
Character position

Return

int

Integer

Remarks

Returns the index of the token that contains the indicated character.

Examples

This page last modified on: 

8/21/2026