uCalc API Version: 2.1.3-preview.2 Released: 6/17/2026

Warning

uCalc API Preview Release Notice:The documentation describes the intended behavior of the API. The current preview build contains incomplete features, unoptimized performance, and is subject to breaking changes.

TokenIndexAtChar

Method

Product: 

String Library

Class: 

String

Returns the index of the token that contains the indicated character

Syntax

TokenIndexAtChar(int)

Parameters

CharacterPosition
int
Character position

Return

int

Integer

Remarks

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

Examples