0

The CONTAINS($val1, $val2, $delim) function in AppwayScript checks whether a delimiter separated string contains a certain value as a substring.

So, e.g.:

CONTAINS('a|b|c', 'b', '|') == true

but

CONTAINS('aa|bb|cc', 'b', '|') == false

How do I perform a simple string inclusion test in AppwayScript?

Machavity
  • 30,841
  • 27
  • 92
  • 100
Mau
  • 14,234
  • 2
  • 31
  • 52

1 Answers1

2

Instead, try:

MATCH('aa|bb|cc', 'b') 
Bugs
  • 4,491
  • 9
  • 32
  • 41
Saso
  • 36
  • 2