Forum Discussion

OldMan63's avatar
OldMan63
Frequent Visitor
2 years ago
Solved

text.contains using beginning or ending spaces in text substring

Unclear how the Text.Contains function treats spaces within the text substring (e.g., "DR" vs. "DR " vs. " DR " vs. " DR"). Will it exactly match the sequence including spaces? If not, how can I do t...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Yes, Text.Contains treats spaces as text. So " DR", "DR", " DR ", and "DR " are not equal. However, each Text.Contains([FieldName], "DR" would = true for each of the above, but " DR " would = true only for " DR ".

     

    --Nate