* Looking for a function
@ 2001-12-03 2:14 galapogos
2001-12-03 2:47 ` Nick Roberts
0 siblings, 1 reply; 2+ messages in thread
From: galapogos @ 2001-12-03 2:14 UTC (permalink / raw)
Hi,
Is there a function in Ada that counts the number of occurences of a string
in another string ?
Thanks for any reply.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Looking for a function
2001-12-03 2:14 Looking for a function galapogos
@ 2001-12-03 2:47 ` Nick Roberts
0 siblings, 0 replies; 2+ messages in thread
From: Nick Roberts @ 2001-12-03 2:47 UTC (permalink / raw)
Ada.Strings.Fixed.Count (RM95 A.4.3)
e.g. Count("peter piper picked a peck of pickled peppers","pe") = 5
--
Nick Roberts
"galapogos" <thejammer@medmail.com> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-03 2:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-03 2:14 Looking for a function galapogos
2001-12-03 2:47 ` Nick Roberts
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox