MathGroup Archive 2002

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

Search the Archive

Data Conversion

  • To: mathgroup at smc.vnet.net
  • Subject: [mg38006] Data Conversion
  • From: Moranresearch at aol.com
  • Date: Mon, 25 Nov 2002 01:57:36 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

I have the following data of the following form.

{123-456-7899, John Smith,2223334444}

How can I convert this to 
{123,456,7899, John,Smith,222,333,4444}
and then to

{1234567899johnsmith00000)

1. The "-" are removed
2. John Smith is concerted to lower case
3. The space between John and Smith is removed (ie john and smith is 
concatenated)
4. 123454567899johnsmith is padded right so the the total  number of 
characters is 24.
Thank you.
John


  • Prev by Date: Simplifying expression involving Log and I
  • Next by Date: Re: full path of current notebook
  • Previous by thread: Re: Simplifying expression involving Log and I
  • Next by thread: Re: Data Conversion