|
by Paul Stovell via Paul Stovell on 10/9/2009 1:02:24 PM
Enterprise applications typically deal with many categories of strings. Human names, reference codes, SKU identifiers, email addresses - the list is huge. There are subtle rules that apply to many of them:
Whitespace at the start and end of many strings should probably be ignored
Human names probably shouldn't contain newlines, tab characters, the percentage symbol, or 27 dashes in a row
For some strings, casing makes no difference when deciding equality, and sometimes it do
... [ read more ]
|
|