Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-326

StringUtils: startsWith / endsWith / startsWithIgnoreCase / endsWithIgnoreCase / removeStartIgnoreCase / removeEndIgnoreCase methods

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.4
    • lang.*
    • None

    Description

      I'd like the following new start/end methods for StringUtils:

      startsWith - handles nulls
      endsWith - handles nulls
      startsWithIgnoreCase - handles nulls, case insensitive
      endsWithIgnoreCase - handles nulls, case insensitive

      removeStartIgnoreCase - handles nulls, case insensitive
      removeEndIgnoreCase - handles nulls, case insensitive

      Attachments

        1. LANG-326-Start-End-With-2.patch
          23 kB
          Niall Pemberton

        Activity

          People

            Unassigned Unassigned
            niallp Niall Pemberton
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: