String.prototype.padLeft / String.prototype.padRight
Coroutines
coroutines at gmail.com
Tue Nov 17 22:25:22 UTC 2015
On Tue, Nov 17, 2015 at 2:19 PM, Coroutines <coroutines at gmail.com> wrote:
> In my opinion, if you understand that your script renders
> right-to-left, you would understand that it is encoded/parsed
> left-to-right :>
>
> On Tue, Nov 17, 2015 at 2:13 PM, Claude Pache <claude.pache at gmail.com> wrote:
>>
>>> Le 17 nov. 2015 à 22:29, Coroutines <coroutines at gmail.com> a écrit :
>>>
>>> There is no confusion with *Left() or *Right().
>>
>> In a text string using a right-to-left script (Arabic, Hebrew, etc.), `trimLeft()` does confusingly "trim at the right".
Disregard that I top-posted on my reply:
I think I'm just being weird now, you are correct: Silly right-to-left
languages make that just as confusing.
More information about the es-discuss
mailing list