@unikue/ts-lang-utils
    Preparing search index...

    Function removeStartIgnoreCase

    • Returns the string that removed the leftmost given string, case-insensitive

      Parameters

      • Optionaltext: string | null

        The text to inspect

      • Optionalremove: string | null

        The string to remove, case-insensitive

      Returns string | null | undefined

      the string that removed the leftmost given string, case-insensitive

      David Hsing

      removeStartIgnoreCase('foobar', 'Hello');    // 'foobar'
      removeStartIgnoreCase('foobar', 'Foo'); // 'bar'