MathGroup Archive 2005

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

Search the Archive

position of letters in a string


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