MathGroup Archive 2005

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

Search the Archive

position of letters in a string

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53803] position of letters in a string
  • From: zak <chocolatez at gmail.com>
  • Date: Fri, 28 Jan 2005 02:43:47 -0500 (EST)
  • Reply-to: zak <chocolatez at gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

in the list of strings:
lst={"catcatz","zrzttys"}
i want some procedure to give the letters in every string a number
depending on its position and discarding the recurrent letters such
that:
first string: c=1;  a=2;  t=3; z=4
second string: z=1;  r=2;  t=3;  y=4;  s=5
zak


  • Prev by Date: NullSpace computation
  • Next by Date: Nonlinear Curve Fitting
  • Previous by thread: NullSpace computation
  • Next by thread: Re: position of letters in a string