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

    Function removeStartIgnoreCase

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

      Parameters

      • Optionaltext: null | string

        the text to inspect

      • Optionalremove: null | string

        the string to remove, case-insensitive

      Returns undefined | null | string

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

      David Hsing

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