← Back to team overview

dhis2-devs team mailing list archive

Help needed: Checking a string with single quote in program rule...

 

Hi all.

Kindly assist me to resolve this issue.

I want to check a single quoted string in a program rule such as "variable
== 'Don't know'". I tried using two single quotes (Don''t know) and escaped
with a backward slash (Don\'t know) but it doesn't work.

Any suggestions? Your help is very much appreciated.

Thanks and regards.

MSP

Follow ups