Add support for arrays. Fixes #2, #1
Add support for arrays. Fixes #2, #1

The function can now be called on arrays as well as strings. This is useful for
strings where multiple replacements are necessary, since it means the function
can be called on its own result.

iansinnott/react-string-replace