Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] trim

From: gchiu::compkarori::co::nz at: 18-Sep-2002 15:19

The default behaviour for trim appears flawed. Under IOS:
>> trim test1: { this is an embedded tab ^-which will be left alone }
== "this is an embedded tab ^-which will be left alone"
>> trim test2: { this is an embedded tab ^/^-which gets clobbered }
== "this is an embedded tab^/which gets clobbered"
>> trim/head/tail test2: { this is an embedded tab ^/^-which is left alone }
== "this is an embedded tab ^/^-which is left alone" -- Graham Chiu