#29
Get the Caps
Difficulty: | N/A |
Topics: | easy strings |
Write a function which takes a string and returns a new string containing only the capital letters.
![]() | (= (__ "HeLlO, WoRlD!") "HLOWRD") |
![]() | (empty? (__ "nothing")) |
![]() | (= (__ "$#A(*&987Zf") "AZ") |