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
Code input
blank := s.is_blank
What are effects?
Runnable Example
Code input
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: 2026-07-03
next: NYI: Idiom # 111: Launch other program