On this page本页内容
$toUpper
¶Converts a string to uppercase, returning the result.将字符串转换为大写,并返回结果。
$toUpper
has the following syntax:语法如下所示:
The argument can be any expression as long as it resolves to a string. 参数可以是任何表达式,只要它解析为字符串。For more information on expressions, see Expressions.有关表达式的详细信息,请参阅表达式。
If the argument resolves to null, 如果参数解析为$toUpper
returns an empty string ""
.null
,$toUpper
返回一个空字符串""
。