Article View: alt.comp.lang.learn.c-c++
Article #133String Function
From: Chris Psiuk
Date: Sun, 14 Mar 1999 00:00
Date: Sun, 14 Mar 1999 00:00
6 lines
969 bytes
969 bytes
Does anyone know if there is a string function, possibly in String.h,
that will search through a string and return the number of occurances
of a certain character.
for example in the string "Borland C++"
I want the value 2 returned when I want to know how many '+'
characters are in the string "Borland C++"
Technical Details
Message-ID:
<36ebe918.0@news.cgocable.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4ba,f33d01c31aba151a,start X-Google-Attributes: gid10d4ba,public X-Google-Thread: 114592,f33d01c31aba151a,start X-Google-Attributes: gid114592,public X-Google-Thread: 109fba,f33d01c31aba151a,start X-Google-Attributes: gid109fba,public From: "Chris Psiuk" <cpsiuk@cgocable.net> Subject: String Function Date: 1999/03/14 Message-ID: <36ebe918.0@news.cgocable.net> X-Deja-AN: 454892897 X-Trace: 14 Mar 1999 11:51:36 -0500, cgowave-55-186.cgocable.net Newsgroups: alt.comp.lang.learn.c-c++,att.lang.c++,comp.lang.c++ X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4