Logo

Programming-Idioms

History of Idiom 110 > diff from v69 to v70

Edit summary for version 70 by krono:
New Smalltalk implementation by user [krono]

Version 69

2021-09-15, 15:46:20

Version 70

2021-09-24, 09:28:04

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 isAllSeparators.