[Solved] String.toUpperCase()

String.toUpperCase() seems not there on Spark Core. What should I use to convert entire String to upper case or lower case?

Seems like it is: http://docs.spark.io/firmware/#string-class-touppercase

How are you determining that it’s ‘not there’ ? :wink:

1 Like

It is definitely there–it does its work “in place”, that is, it does not return a value:

    String myStr = "foo";
    myStr.toUpperCase();
1 Like

Thanks bko, it worked.

1 Like