On Mon, Oct 27, 2008 at 7:14 AM, Per Cederberg <[EMAIL PROTECTED]> wrote: > > On Mon, Oct 27, 2008 at 11:34 AM, SanderElias <[EMAIL PROTECTED]> wrote: > > ltrim -- Trims all the left spaces in a string > > rtrim -- Trims all the right spaces in a string > > alltrim -- Trimms all (left an right) spaces in a string. > > These are available as strip(), lstrip() and rstrip() in > MochiKit.Format. But should probably be moved somewhere where people > would actually look for them. And perhaps also be renamed to trim() as > above.
Renaming strip -> trim wouldn't be respecting the Pythonic roots of Mochikit though. That said, it's not really using the Python naming conventions either. Regards, etc... David -- David Janes Mercenary Programmer --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---