BRACELEVEL-DeterminetheenclosuredepthlevelfortextwithinbracesLEVEL=BRACELEVEL(STR)ForthestringSTR,returnsanequallylongarrayofnumbersLEVELthatindicatestheenclosuredepth.Theenclosuredepthanswershowmanylevelsdeepeachcharacteriswithinparentheses.Onecanalsocall:LEVEL=BRACELEVEL(STR,BRACELEFT,BRACERIGHT)AndspecifytheLEFTBRACEandRIGHTBRACEcharacters.Examples:str='this is (a test of (depth))';level=bracelevel(str)str2='this is [a test of [depth]]';level=bracelevel(str,'[',']')