Skip to main content
Table of Contents

TTMSFNCUtils.ClosingParenthesis Method

Finds the closing parenthesis for an expression segment.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

FMX.TMSFNCUtils.hppPascalC++
class function ClosingParenthesis(s1: string): Integer;
__classmethod int __fastcall ClosingParenthesis(System::UnicodeString s1);

Parameters

Name Description
s1 Expression text to inspect.

Returns

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