eliminate junk from std.string?
Nick Sabalausky
a at a.a
Tue Jan 11 10:18:25 PST 2011
"Max Samukha" <spambox at d-coding.com> wrote in message
news:ighvca$api$1 at digitalmars.com...
> On 01/11/2011 05:36 PM, Ary Borenszweig wrote:
>> Yes, what I meant was that the names are stripl and stripr yet the
>> description of
>> those functions are strip leading and strip trailing... at least put
>> strip left
>> and string right on the description so it matches the names.
>
> Sorry for misunderstanding.
>
> I don't think that the description needs to match the names literally.
> However, I would aviod "trailing" and "leading", because in RTL
> environments they can have the opposite meaning.
I would have thought RTL languages got stored as RTL. If so, then "leading"
and "trailing" would be correct and "left"/"right" would be wrong (unless
the internal behavior of stripl and stripr takes language-direction into
account, which would surprise me).
More information about the Digitalmars-d
mailing list