... though I tend to use !myVar.contains()
startsWith
startsWithIgnoreCase used in fuzzy logic searches to broaden the resultset
containKey Applies to maps only
containValue Applies to maps only
...
...
Method #2:
Using a map, set default to "th", check if the date (string) is in the map, if so use mapped value:
// determine English Ordinal
English_Ordinal = "th";
Ordinal_Map = ;
if(Ordinal_Map.containkey(My_Date_Field.toString("d")))
{
English_Ordinal ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.