Off topic:Attribute number every time a given character shows
0
0
Entering edit mode
3.4 years ago

Hey,

I have a text file with

1_Ab 
2_Cd
3_Ab
4_Cd
5_Ef
6_Ef

And would like to attribute number every time a given character shows up (Ab, Cd, Ef, etc.), so that the attributed numbers appear next to the text, like this

1_Ab 1 
2_Cd 2
3_Ab 1
4_Cd 2
5_Ef 3
6_Ef 3

Can you help me with this? Thanks!

sequence • 218 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2092 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6