Prints a string to standard out