Replace trim function with built in strip