angoca / db2tools

Set of routines that can ease your daily work.
GNU General Public License v2.0
1 stars 0 forks source link

Positions of a character #21

Open angoca opened 10 years ago

angoca commented 10 years ago

Create a routine that returns an array of positions of a given character in the given string.

this-is-a-test
-
[5,8,10]