I need to find out the
1. number of occurences %x (x is the character following the %) in the string
2. and the order in which they appear.
Is it possible to do it using a regex or is converting the string into an array and then processing it is the only way out?
If so what would be the most efficient way to do it?
In reply to Extracting the number of %'s in a string by mnranjeeth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |