uCalc API Version: 5.7.0-preview.1 Released: 7/30/2026

Warning

uCalc API Preview Release Notice:This preview documentation describes the intended behavior of the API. It is not fully accurate or complete.The current preview build contains incomplete features, unoptimized performance, and is subject to breaking changes.Use of the preview version in your production code is not recommended.

BracketMatch

Method

Product: 

Class: 

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