Contains Statement

1
Hi Im trying to see if a string value contains an apostrophe. Im using the below but does not catch it contains ($EmailMessage/MessageHTML, '''') does the two single quotes inside symbolize an apostrophe? If not what do I use?
asked
1 answers
1

You should indeed escape the character. So a ' in string becomes '' (two single ones). See this part of the documentation: https://world.mendix.com/display/refguide5/String+function+calls

Regards,

Ronald

answered