fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 110: Check if string is blank
Idiom # 110: Check if string is blank
See
programming-idioms.org
:
Code
blank := s.is_blank
What are effects?
Running Example
ex110 is blank (s String) => blank := s.is_blank blank say "{blank "abc"}" say "{blank ""}" say "{blank " "}" say "{blank "\t\n\r\f"}" say "{blank "\t\n x\r\f "}"
What are effects?
last changed: 2024-07-01
next: NYI: Idiom # 111: Launch other program