Given a string of arbitrary length, what efficient ways are there of producing a list of the offsets at which a given char occurs within that string?
In reply to Producing a list of offsets efficiently by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |