| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| Date: | Fri, 11 May 2007 20:12:10 +0200 |
| From: | Michelle Konzack <dos4michelle AT freenet DOT de> |
| To: | djgpp <djgpp AT delorie DOT com> |
| Subject: | How to count the occurance of a character in a string? |
| Message-ID: | <20070511181210.GT3209@freenet.de> |
| Mime-Version: | 1.0 |
| X-Message-Flag: | Improper configuration of Outlook is a breeding ground for viruses. Please take care your Client is configured correctly. Greetings Michelle. |
| X-Disclaimer-DE: | Eine weitere Verwendung oder die Veroeffentlichung dieser Mail oder dieser Mailadresse ist nur mit der Einwilligung des Autors gestattet. |
| Organisation: | Michelle's Selbstgebrautes |
| X-Operating-System: | Linux devel.private 2.4.27-2-386 |
| X-Uptime: | 02:57:56 up 13 days, 6:28, 10 users, load average: 0.09, 0.17, 0.28 |
| X-Homepage-4: | http://freenet-homepage.de/dos4michelle/ |
| User-Agent: | Mutt/1.5.9i |
| Reply-To: | djgpp AT delorie DOT com |
--kG2acDqmwoBDcCHP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
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?
Greetings
Michelle Konzack
--=20
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSN LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
--kG2acDqmwoBDcCHP
Content-Type: application/pgp-signature; name="signature.pgp"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFGRLH5XnHp6ejAnVoRAmDRAJsETeDHZzO6/xKiarV+Wr2g3racHQCeJS1g
+bLb98glTtPOFb21nTBevvs=
=YEDf
-----END PGP SIGNATURE-----
--kG2acDqmwoBDcCHP--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |