islower()

阅读(2369) 标签: 小写字母, 布尔型,

描述:

判定字符串是否全由小写字母构成。

语法:

islower(string)

备注:

判定字符串string是否全由小写字母构成。如果string为整数,则作为ascii码,判断其对应的字符是否为小写字母。

参数:

string

字符串/数值表达式。

返回值:

Boolean

示例:

islower("dgfdsgf")

true

islower(97)

true

islower("dsfaAFD")

false

islower("97ffdsf")

false

相关概念:

isupper()