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

STD.Str.Contains could be improved

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.x
    • Component/s: Documentation
    • Labels:
      None

      Description

      Adding comments would clarify

      A := STD.Str.Contains(
      'the quick brown fox jumps over the lazy dog',
      'ABCdefghijklmnopqrstuvwxyz', true); //returns TRUE

      B:= STD.Str.Contains(
      'the speedy ochre vixen leapt over the indolent retriever',
      'abcdefghijklmnopqrstuvwxyz', false); //returns FALSE – 'z' is missing

        Attachments

          Activity

            People

            • Assignee:
              jamesdefabia Jim DeFabia
              Reporter:
              jamesdefabia Jim DeFabia
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: