in reply to Extraction of numbers in an string

I have to extract values m,n,p,q,s,t from the above array

First thing, that is not an array, at least not in Perl. I'm not familiar with any language that has that array syntax. So it's hard to even hazard a guess. From just looking at the thing, it might involve split by the : character, but again, I'm really drawing a blank here.

Any further context you can give regarding this will probably benefit you with more concise answers.

Principle of Least Astonishment: Any language that doesn’t occasionally surprise the novice will pay for it by continually surprising the expert

Replies are listed 'Best First'.
Re^2: Etxraction of numbers in an array
by t-rex (Scribe) on Nov 24, 2016 at 13:14 UTC

    edited my post