Browse thread
[Caml-list] [repost] Request for more String functions
-
Richard Jones
-
Dustin Sallings
-
Richard Jones
- Shawn Wagner
- William D. Neumann
-
Richard Jones
-
Dustin Sallings
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | William D. Neumann <wneumann@c...> |
| Subject: | Re: [Caml-list] [repost] Request for more String functions |
On Fri, 20 Feb 2004, Richard Jones wrote: > String.truncate - truncate a string to a given length I call my version procrustes, because it will also pad a string that is too short with an optional padding character (defaults to ' '). In any case, it would be great to see some of these functions added to the standard library so I wouldn't have to tote around my Wdn module... William D. Neumann --- "Well I could be a genius, if I just put my mind to it. And I...I could do anything, if only I could get 'round to it. Oh we were brought up on the space-race, now they expect you to clean toilets. When you've seen how big the world is, how can you make do with this? If you want me, I'll be sleeping in - sleeping in throughout these glory days." -- Jarvis Cocker ------------------- 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