Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] [repost] Request for more String functions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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 Archives:
Bug reports: FAQ:
Beginner's list: