Logo

Programming-Idioms

History of Idiom 110 > diff from v39 to v40

Edit summary for version 40 by tkoenig:
New Fortran implementation by user [tkoenig]

Version 39

2019-09-26, 18:22:29

Version 40

2019-09-26, 20:22:08

Idiom #110 Check if string is blank

Set boolean blank to true if string s is empty, or null, or contains only whitespace ; false otherwise.

Idiom #110 Check if string is blank

Set boolean blank to true if string s is empty, or null, or contains only whitespace ; false otherwise.

Code
blank = s == ''