I have this string ^ (..........)(................................) (...............)
which I want to manipulate.What I want is to find the index positions of all the opening and closing braces.The string index 0 position starts at ^ and the string ends at the last ).
Please can some one advice as how to implement it with the help of some code.