利用...来字符检测(swift)
by 伍雪颖
let
test =
"LesvIo"
let interval = "a" ... "z"
for c in test {
if !interval. @H_404_44@contains ( String (c)) {
println ( " \ ( c ) not lower" )
}
let interval = "a" ... "z"
for c in test {
if !interval. @H_404_44@contains ( String (c)) {
println ( " \ ( c ) not lower" )
}
}