strlen() method:

The Phrase "you are very cool!" contains 18 characters.

this is a user defined method called textMessage that displays the message that is currently being printed out.


Functions work by either using a built-in one like strlen(), which calculates the length of a string or using a user defined one such as textMessage() which was created by me to print out the message above!