CodeType
Learn
…
←
Strings In Depth
1 / 18
Up next
Length and emptiness
let
s
=
"hello"
print
(s.count)
print
(s.isEmpty)
print
(
""
.isEmpty)
What you're solving
count and isEmpty
Explain more ↓
Start typing →