BracketMatch

Method

Returns the matching bracket for the indicated token

SDK version: 

5.7.0-preview.3 8/14/2026

Product: 

Class: 

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.

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

This page last modified on: 

8/7/2026