<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/10/928f58d248b3d019446c5690c7664f0a"
  from="Michael Wohlwend &lt;mwohlwend@w...&gt;"
  author="Michael Wohlwend"
  date="2003-10-07T08:11:01"
  subject="[Caml-list] Str.bounded_split behaviour..."
  prev="2003/10/c5939839af3d29e482d9f742f6f42b42"
  next="2003/10/6e23c026cd6f46b33e8960026081757d"
  prev-thread="2003/10/ce7c6be72bb67c47c5a7a60474df99bd"
  next-thread="2003/10/83df1b66b7480a3738d4bd32ee128373"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Str.bounded_split behaviour...">
<msg 
  url="2003/10/928f58d248b3d019446c5690c7664f0a"
  from="Michael Wohlwend &lt;mwohlwend@w...&gt;"
  author="Michael Wohlwend"
  date="2003-10-07T08:11:01"
  subject="[Caml-list] Str.bounded_split behaviour...">
</msg>
</thread>

<contents>
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

</contents>

</message>

