BRACEMATCH-Matchparenthesisinatextstring[POS_MATCH,BRACEDEPTH]=BRACEMATCH(STR,POS)Findstherightparenthesis')'thatmatchestheleftparanthesis'('instringSTRatpositionPOS.Onecanmodifythebehaviorofthisfunctionbypassingname/valuepairs:Name(default):|Description---------------------------------------------------------------------braceleft('(')|Thecharactertobetheleftparenthesis|(otherexamples,'[', '{', '<') braceright (')') | The character to be the right parenthesis | (other examples, ']','}','>')bracedepth([])|Tosavetime,ifonehascomputedthe|bracelevelusingthefunctionBRACELEVEL,|onecanpassithere.Ifempty,the|bracelevelwillberecalculated.Examples:str='this is (a test of (depth))';match1=bracematch(str,9)match2=bracematch(str,20)Seealso:BRACELEVEL