[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vim
Subject:    Re: strings accounting
From:       Mikolaj Machowski <mikmach () wp ! pl>
Date:       2002-10-31 9:34:48
[Download RAW message or body]

On Wed, Oct 30, 2002 at 09:05:16PM +0100, Mikolaj Machowski wrote:
> On Wed, Oct 30, 2002 at 12:01:52PM +0100, Bernard El-Hagin wrote:
> > > How to count number of various letters in string?
> > > For example: dkajsd;lfkjweortqiwesdjfakljdfa;lsfjalv
> > > 
> > > I would like to know how many d, k, a, j, and so on, are in this string.
> > :he count-items
> But this (:s///) doesn't work for scripts.

OK. I did it with {}

Mikolaj
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic