Re: Manipulate list elements
- To: mathgroup at smc.vnet.net
- Subject: [mg67737] Re: [mg67700] Manipulate list elements
- From: János <janos.lobb at yale.edu>
- Date: Thu, 6 Jul 2006 06:52:36 -0400 (EDT)
- References: <200607050817.EAA26386@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
On Jul 5, 2006, at 4:17 AM, 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}} First you might want to create a string from those uppercased words. Here is a newbie approach: In[8]:= (ToLowerCase[ToString[ #1]] & ) /@ lst Out[8]= {"{ability, capability}", "{person, fly}"} János ---------------------------------------------- Trying to argue with a politician is like lifting up the head of a corpse. (S. Lem: His Master Voice)
- References:
- Manipulate list elements
- From: "ute.paul@gmail.com" <ute.paul@gmail.com>
- Manipulate list elements