Tapatalk

Adding numbers to text

Adding numbers to text

3
NewbieNewbie
3

    Jun 02, 2005#1

    I have text like:

    Code: Select all

    wildkat77	34229	persolta
    west216	124392	persolta
    warmknights	236506	persolta
    Volleyball	22292	persolta
    vincentkram	213993	persolta
    vigoman22	73809	persolta
    varsitystud	209343	persolta
    to be replaced with

    Code: Select all

    wildkat77	34229	persolta1
    west216	124392	persolta2
    warmknights	236506	persolta3
    Volleyball	22292	persolta4
    vincentkram	213993	persolta5
    vigoman22	73809	persolta6
    varsitystud	209343	persolta7
    so that each line is unique

    Also, how do I assign a random string to replace the "persolta" text?

    1
    NewbieNewbie
    1

      Sep 13, 2006#2

      Would interest me too!

      344
      MasterMaster
      344

        Sep 13, 2006#3

        Hi,

        if you look here you will find a solution.
        Mofi wrote a "CountUp" macro. The rest should be easy:

        viewtopic.php?f=10&t=2821

        rds Bego
        Normally using all newest english version incl. each hotfix. Win 10 64 bit

        6,685587
        Grand MasterGrand Master
        6,685587

          Sep 13, 2006#4

          If you line up your lines better so "persolta" starts always at the same column you can also switch to Colmn - Column Mode and use Column - Insert Number to add a number at every line.

          What do you mean with "random string"?

          UltraEdit has no random generator to create really random strings.
          Best regards from an UC/UE/UES for Windows user from Austria