Damien, Stef, I would argue for #trimBlanks (very useful), #trimLineBreak (I do not recall needing this one, but clearl you do, so go for it), and keeping #withoutTrailing: as a separate entry point; write the others in terms of it. IIRC, #trimBlanks probably should trim leading as well as trailing nulls and spaces. The result should (of course) be a properly formatted byte string. I mention that because Dolphin uses null-terminated strings, but my recollection is that Squeak handles them more like BSTRs??? Specifically, I am NOT suggesting to reject nulls/blanks to the point of violating the storage format, only to get rid of them in the "payload." Does that make sense?
Bill Wilhelm K. Schwab, Ph.D. University of Florida Department of Anesthesiology PO Box 100254 Gainesville, FL 32610-0254 Email: [EMAIL PROTECTED] Tel: (352) 273-6785 FAX: (352) 392-7029 >>> [EMAIL PROTECTED] 10/1/2008 3:53 PM >>> String >> withoutTrailing: probably makes sense but then this is mostly useful for line breaks* why not a #trimLinebreak _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
