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

[REBOL] Re: Good idiom?

From: carl::cybercraft::co::nz at: 29-Nov-2007 1:26

On Wednesday, 28-Novenber-2007 at 15:29:03 Kai Peters wrote,
>What are fast idioms to uppercase the nth char in a string?
There's a word for the job! ...
>> x: "abcdefghijkl"
== "abcdefghijkl"
>> uppercase/part skip x 8 1
== "Ijkl"
>> x
== "abcdefghIjkl" -- Carl Read.