From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,127949a52662b871 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-02 18:49:19 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!ppp-1-19.cvx6.telinco.NET!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: Looking for a function Date: Mon, 3 Dec 2001 02:47:53 -0000 Message-ID: <9uep7d$7u62q$2@ID-25716.news.dfncis.de> References: NNTP-Posting-Host: ppp-1-19.cvx6.telinco.net (212.1.156.19) X-Trace: fu-berlin.de 1007347758 8329306 212.1.156.19 (16 [25716]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.lang.ada:17325 Date: 2001-12-03T02:47:53+00:00 List-Id: Ada.Strings.Fixed.Count (RM95 A.4.3) e.g. Count("peter piper picked a peck of pickled peppers","pe") = 5 -- Nick Roberts "galapogos" wrote in message news:PeBO7.1408$iF3.449005@news20.bellglobal.com... > Hi, > Is there a function in Ada that counts the number of occurences of a string > in another string ? > > Thanks for any reply.