Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: shiva kumar
  Where is shiva kumar?
 Hyderabad
 India
 shiva kumar
 Tags
Subject: counting a character frm a string
Thread ID: 189059 Message ID: 189059 # Views: 1 # Ratings: 0
Version: Visual FoxPro 8 Category: General VFP Topics
Date: Wednesday, August 13, 2008 9:05:27 AM         
   


Hi all
how to count a character from the given string
example
cst='Shiva kumar' then i need to count the character 'a'

and
and how can we check whether
a string can only be digits and -'s (no space in the middle allowed) like 2-3-5
no alphabets allowed only digits and '-'

Shiva

ENTIRE THREAD

counting a character frm a string Posted by shiva kumar @ 8/13/2008 9:05:27 AM
RE: counting a character frm a string Posted by Stefan Wuebbe @ 8/13/2008 9:09:33 AM
RE: counting a character frm a string Posted by shiva kumar @ 8/13/2008 9:17:57 AM
RE: counting a character frm a string Posted by Stefan Wuebbe @ 8/13/2008 9:24:46 AM
RE: counting a character frm a string Posted by shiva kumar @ 8/13/2008 9:33:36 AM
RE: counting a character frm a string Posted by Stefan Wuebbe @ 8/13/2008 9:36:54 AM
RE: counting a character frm a string Posted by shiva kumar @ 8/13/2008 9:45:45 AM