Ignore spacing - Validation
Posted: Tue Jan 23, 2018 3:01 pm
I am trying to validate some text which contains spacing. How do I ignore any spacing when validating text against a variable. Here's an example of something I want to validate:
Rule Error
01 of 01
1234 INCREASES TO VARIABLE WHOLE LIFE AMOUNT NOT
ALLOWED AFTER 90 DAYS FROM
ISSUE DATE xx-xx-xxxx
------------------------------------------------------------
I would just like to validate that field contains: "Increases to variable whole life amount not allowed after 90 days from issue date". I am able to validate that it contains "Increases to variable whole life amount not", but when I try validating the field contains "Increases to variable whole life amount not allowed after 90 days from issue date", the validation doesn't work. I am assuming it is because the text falls on 3 separate lines. How do I get around this?
Rule Error
01 of 01
1234 INCREASES TO VARIABLE WHOLE LIFE AMOUNT NOT
ALLOWED AFTER 90 DAYS FROM
ISSUE DATE xx-xx-xxxx
------------------------------------------------------------
I would just like to validate that field contains: "Increases to variable whole life amount not allowed after 90 days from issue date". I am able to validate that it contains "Increases to variable whole life amount not", but when I try validating the field contains "Increases to variable whole life amount not allowed after 90 days from issue date", the validation doesn't work. I am assuming it is because the text falls on 3 separate lines. How do I get around this?