English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
substring match like "strstr"
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-12-08 (09:18)
From: eijiro_sumii@a...
Subject: substring match like "strstr"
Hi all,

Is there a substring matching function (like "strstr" in libc) in the
standard OCaml library?  Of course there are many ways to implement it
(by writing it from scratch, using the Str library, interfacing
"strstr" in libc, etc.), but they are overkill for my purpose.  So I'm
wondering whether such a function already exists, but I couldn't find
it in the manual...

Eijiro