KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to get the index as well as the results of a scan "abab".scan(/a/) I would like to have not only => ["a", "a"] but also the index of those matches [1, 3] any suggestion?
Tags (comma-separated)
Save Edits
Cancel