Created the string function and set up the syntax for the array function