Hi, all.
I need a function to count how many times a character appears ina a
string, but with no loop routine, like this:
my_function(string, begin, end, character);
"where begin and end were the start and end positions in string where I
need to count character"
or like this
other_my_function(string, begin, end, character);
"return a vector with zeros and ones, where ones matches where character
appears".
Someone have suggestions?
Thanks to all.
C.
========================================
Cezar Freitas (ICQ 109128967)
IMECC - UNICAMP
Campinas, SP - Brasil
|