Return first value of trim() within the function as opposed to at the call
Simplified object:method syntax for trim() and split()