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

Good idiom?

 [1/3] from: kpeters:otaksoft at: 28-Nov-2007 15:29


What are fast idioms to uppercase the nth char in a string? Kai

 [2/3] 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.

 [3/3] from: tomc:cs:uoregon at: 28-Nov-2007 15:38


Kai Peters wrote:
> What are fast idioms to uppercase the nth char in a string? > > Kai >
do you know it is lower case to begin with? change at str 37 str/37 - 32 -- ... nice weather eh tomc-cs.uoregon.edu