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.

BracketMatch

Method

Product: 

String Library

Class: 

String

Returns the matching bracket for the indicated token

Syntax

BracketMatch(int)

Parameters

Index
int
nth Token index

Return

String

uCalc string object

Remarks

This returns the matching bracket for the indicated token. Manipulations to the returned uCalc string will be reflected in the overall string.

Examples