Logo

Programming-Idioms

History of Idiom 110 > diff from v8 to v9

Edit summary for version 9 by :
New Pascal implementation by user [Bart]

Version 8

2016-01-09, 17:08:38

Version 9

2016-01-15, 15:49:18

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 := trim(s) = '';