Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-12910

STD.Str.SplitWords should support list of separator strings

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core Libraries
    • Labels:
      None

      Description

      The most frequent need to split words uses the notion of whitespace, that is, space, tab, newline, carriage return, vertical tab, et cetera. It would be convenient if Split Words accepted a set of delimiter strings.

      Note that the case above can be handled today by using STD.Str.SubstituteIncluded(...) or STD.Str.Translate(...) to get the delimiter characters replaced by a single delimiter. The rarer case of multiple multi-character delimiters can only be handled today by using a Regular Expression to pre-process to a single delimiter string or use PARSE.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shamser Shamser Ahmed
                Reporter:
                johnholt John Holt
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: