Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] Str.bounded_split behaviour...
@ 2003-10-07  8:12 Michael Wohlwend
  0 siblings, 0 replies; only message in thread
From: Michael Wohlwend @ 2003-10-07  8:12 UTC (permalink / raw)
  To: caml-list

Hi,

is this correct:

bounded_split (regexp "[ \t]+") "  one two   " 1 ;;

gives:
- : string list = ["one two   "]

but I thought that any occurrence of the delimiter at the
    beginning and at the end of the string is ignored?


  Michael

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-07  8:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-07  8:12 [Caml-list] Str.bounded_split behaviour Michael Wohlwend

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox