Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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