5 primitive string functions were given as print, tolower, toupper, reverse, append_a that do the same as their names suggest. Syntax was given for defining user defined function that can use any of those in any order and each function is passed a string argument and returns modified string
Ex-
Input:
define str
toupper str
append_a toupper str
end
print “hello”
toupper “hello”
append toupper hello
Output:
You had to print string after each line of code