Hello!
I am receiving an "Unknow [sic] built-in function" error when using the functions %upper() and %lower().
Oddly, Eclipse is properly generating diagrams which include several other % functions such as %date() as well as %strlen() and %substr().
The following example works perfectly using the PlantUML online server (see it here) but returns an error in Eclipse:
@startuml
!$az = "Hello"
!$bz = %upper($az)
!function $bold($a) return "<b>" + $a + "</b>"
!function $lower($a) return %lower($a)
User -> Processor ++ #green : Submit variable value: $bold($az)
Processor -> Processor : Process request.
return Results:\nUpper Case is: $bold($bz), and\nLower Case is: $bold($lower($bz)).
@enduml
FYI, I am using Eclipse IDE version 2020-09 (4.17.0), build ID 20200910-1200 running on Windows 10, v.10.0, x86_64 / win32 with Java version 13.0.2.
Any thoughts or tips would be much appreciated.
Many thanks in advance!
JOS