Logo

Programming-Idioms

History of Idiom 137 > diff from v1 to v2

Edit summary for version 2 by programming-idioms.org:
Characters usually quoted

Version 1

2016-06-10, 21:26:27

Version 2

2016-06-10, 21:27:32

Idiom #137 Check if string contains only digits

Set boolean b to true if string s contains only characters in range 0..9, false otherwise.

Idiom #137 Check if string contains only digits

Set boolean b to true if string s contains only characters in range '0'..'9', false otherwise.