From: Austin Ziegler Date: 2006-06-27T10:57:28+09:00 Subject: Re: Unicode roadmap? On 6/26/06, Mike Stok wrote: > >> s[0] # The first character > >> s[/./] # The first character > >> s[byte:0] # The first byte (of a string with some non ascii > >> compatible encoding) > > I kinda like that. > Presumably this is general arm waving, because s[/./] need not return > the first character of a non-empty string, unless you mean s[/./m] or > some uglier alternative I'm referring to s[byte: 0]. It's elegant. -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca