added usage examples for array, object and string functions