The function takes a string input and returns a modified version of that string with "world" appended to the end, and with any leading or trailing spaces removed.

