Good idea,

Idea to implement this:

The index-parameter could be made optional so that if index-parameter is used the function returns a string
and if index-parameter is not used the functions should return an array.

-Erik