Using inbuilt trim function