upcase

open fun upcase(@NonNull string: Expression): Expression(source)

Returns the input string converted to uppercase.

Follows the Unicode Default Case Conversion algorithm and the locale-insensitive case mappings in the Unicode Character Database.

Example usage:


SymbolLayer symbolLayer = new SymbolLayer("layer-id", "source-id");
symbolLayer.setProperties(
    textField(upcase(get("key-to-string-value")))
);

Return

expression

Parameters

string

the string to upcase

See also


open fun upcase(@NonNull string: String): Expression(source)

Returns the input string converted to uppercase.

Follows the Unicode Default Case Conversion algorithm and the locale-insensitive case mappings in the Unicode Character Database.

Example usage:


SymbolLayer symbolLayer = new SymbolLayer("layer-id", "source-id");
symbolLayer.setProperties(
    textField(upcase("text"))
);

Return

expression

Parameters

string

string to upcase

See also