07-22-2013 02:07 PM
COUNTC : counts individual character in a string.
Means countc tells that how many times given character is in string.
how_many=countc(string,'A'); *answer is 1
how_many1=countc(string,'AB); *answer is 2
how_many2=countc(string,'AS') * answer is 2
Put how_many : how_many1 : how_many2;
Need further help from the community? Please ask a new question.