@tsdotnet/text-utility - v1.2.4
    Preparing search index...

    Function trim

    • Can trim any character or set of characters from the ends of a string. Uses a Regex escapement to replace them with empty.

      Parameters

      • source: string
      • Optionalchars: string | string[]

        A string or array of characters desired to be trimmed.

      • OptionalignoreCase: boolean

      Returns string