MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Manipulate list elements

  • To: mathgroup at smc.vnet.net
  • Subject: [mg67734] Re: Manipulate list elements
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 6 Jul 2006 06:52:27 -0400 (EDT)
  • References: <e8ftmb$qch$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,
if yo start to write your strings in quotes, than

list = {{"ABILITY", "CAPABILITY"}, {"PERSON", "FLY"}} /. s_String :>
       ToLowerCase[s]

will work.

Regards
   Jens

ute.paul at gmail.com wrote:
> I have a list of words. These words are written in capital letters. I
> need a list with these words in lower case letters. How can I
> manipulate the list elements that the capital letters become lower case
> letters?
> Example: list={{ABILITY, CAPABILITY},{PERSON, FLY}} =>list={{ability,
> capability},{person, fly}}
> 


  • Prev by Date: Re: Manipulate list elements
  • Next by Date: Repost --- Another limit problem
  • Previous by thread: Re: Manipulate list elements
  • Next by thread: RE: Manipulate list elements