[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: new string functions (was Re: Standard Libraries....)
- From: David Manura <dm.lua@...>
- Date: Mon, 18 Jan 2010 21:34:17 -0500
On Mon, Jan 18, 2010 at 9:28 PM, Ted Unangst wrote:
> On Mon, Jan 18, 2010 at 8:54 PM, David Manura wrote:
>> call it string.subst. I think most programmers would immediately
>> guess what string.subst is, except maybe the part where it takes a
>> pattern and function rather than plain strings.
> subst is short for substring right? :)
Oh, true :) Usually, when languages want to abbreviate substring near
the 't' they do so after the 'r': substr 
Looking again, it would be more common just to name it "replace" .