author LiQingSong
  export const trim = ( val ) : string => { return val . replace ( /(^\s*)|(\s*$)/g , '' ) ; } ; author LiQingSong
  export const ltrim = ( val ) : string => { return val . replace ( /(^\s*)/g , '' ) ; } ; author LiQingSong
  export const rtrim = ( val ) : string => { return val . replace ( /(\s*$)/g , '' ) ; } ; author LiQingSong
  export const trimComma = ( val ) : string => { return val . replace ( /(^,*)|(,*$)/g , '' ) ; } ; author LiQingSong
  export const trimVerticalBar = ( val ) : string => { return val . replace ( /(^\|*)|(\|*$)/g , '' ) ; } ;