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
- Follow-Ups:
- Re: position of letters in a string
- From: János <janos.lobb@yale.edu>
- Re: position of letters in a string