Table of Contents

TTMSFNCUtils.ClosingParenthesis Method

Finds the closing parenthesis for an expression segment.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class function ClosingParenthesis(s1: string): Integer;

Parameters

Name Description
s1 Expression text to inspect.

Returns

1-based position of the closing parenthesis, or 0 when none is found.