返回一个字符串,该字符串中的字母被转换为小写字母。
strvariable.tolowercase( )"string literal".tolowercase( )
说明
tolowercase 方法对非字母字符不会产生影响。
下面的示例演示了 of the tolowercase 方法的效果:
var strvariable = "this is a string object";strvariable = strvariable.tolowercase( );在执行上一条语句后 strvariable 的值为:
this is a string object要求
版本 1
请参阅
string 对象的方法 | string 对象的属性 | touppercase 方法
应用于: string 对象
闽公网安备 35060202000074号