Thread
:
Help, extracting substrings from a string
View Single Post
xpi0t0s
Mentor
18Jun2009,13:07
Easy: two nested loops and a counter. Outside loop loops over the string looking for an open bracket. Inside loop loops over the string from the outer loop's index looking for the matching bracket.