On 27/02/15 13:12, François Laupretre wrote: > If we allow for trailing blanks, we'll allow the same set of chars > that is already allowed for leading blanks. > > I say'blanks' and not 'whitespaces', because here is the list > currently allowed as leading blank (with ascii values) : Space (32) , > tab (9) , linefeed (10), carriage-return (13), vertical tab (11), and > form feed (12).
Depending on the way a database is configured, one may be using char fields which are 'blank packed' fixed length, or varchar which would normally only include white space when it is actually added. It's not uncommon though to cast numeric fields to 'char' to create fixed length records and I would not like to say how many legacy systems still use that approach for building tables of data? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php