array functions works with strings too (except join())
removed test code