I realized that the function:
string.contains()
that I use quite often, is not documented, and that there is no containsNoCase() version.
Will it be deprecated in the future in favor of string.listContains()?
thanks.
I realized that the function:
string.contains()
that I use quite often, is not documented, and that there is no containsNoCase() version.
Will it be deprecated in the future in favor of string.listContains()?
thanks.
Probably be a java method, variables in Lucee are all java classes, so the underlying java methods are available
They just might not be as robust as the documented Lucee functions which ensure casting or args etc YMMV
Ok, thanks!
Better not use it
as zac mentioned, the string.contains() comes from java.lang.String class and there is no string.containsNoCase().
https://docs.oracle.com/javase/7/docs/api/java/lang/String.html#contains(java.lang.CharSequence)