react-string-replace
react-string-replace copied to clipboard
Bug fixed: Incorrect index value
This is the same as #32 but with the requested changes and test since that PR is dead.
Currently, index value returns odd values only (1,3,5,7...), and not values that one generally expects (0,1,2,3...). This patch fixes that.