ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/05/11/18:16:01

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Cesar Rabak <csrabak AT yahoo DOT com DOT br>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to count the occurance of a character in a string?
Date: Fri, 11 May 2007 19:07:20 -0300
Organization: Aioe.org NNTP Server
Lines: 13
Message-ID: <f22p42$bu7$1@aioe.org>
References: <20070511181210 DOT GT3209 AT freenet DOT de>
NNTP-Posting-Host: LMLnELbTmZpUdPJQYztLAA.user.aioe.org
Mime-Version: 1.0
X-Complaints-To: abuse AT aioe DOT org
In-Reply-To:
User-Agent: Thunderbird 1.5.0.8 (X11/20061109)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Michelle Konzack escreveu:
> Hello,
> 
> I have to check several 1000 ascii strings
> for the occurance of a "." (DOT).
> 
> What is the best (and fastest) method to
> count the character?
> 
Michelle,

Can you elaborate? It is inside a C program, is it to be done at a shell 
prompt? Any other ;-) ?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019