/** Trim a string */ export const trim = ( str ) => str . trim ( ) ; /** Trim the start of a string */ export const trimLeft = ( str ) => str . trimLeft ( ) ; /** Trim the end of a string */ export const trimRight = ( str ) => str . trimRight ( ) ;