cgoneal
1
I currently have a little script that says this:
$if($in(%language%,eng),$set(TLAN,$title(English)))
Which works great if “eng” is always in lower case, but sometimes it’s cap like “Eng”.
Can you put an OR statement like you can in C#?
if “eng” or “Eng”… etc
I’m doing this with all the languages so I thought I’d ask
thanks
rdswift
2
Or simply use the $lower() function to force %language%
to lower case before testing, such as:
$if($in($lower(%language%),eng),$set(TLAN,$title(English)))
3 Likes
cgoneal
3
Ahh, yes, of course! Thanks
And just for completeness, a or check would be done with $or(condition1,condition2)
1 Like
cgoneal
5
Thank you for all the information