Hi all,

just a short question: Is there a function which simply counts how many 
times a character appears within a string? I vaguely remember a long 
time ago I used such a thing, but it may as well have been in another 
context.

The only way I have found yet was using Split() and then count the 
number of resulting parts -1 IF it is more than 0.

Any better way?

Rolf

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to