On 4/22/19 6:22 PM, Alexandre Julliard wrote:
Gabriel Ivăncescu gabrielopcode@gmail.com writes:
Scanning backwards can avoid a full scan of the entire string and makes more sense since we are looking for the last char.
It was done this way for symmetry with the other similar functions. I don't think it's necessary to change it.
Yeah I realized it was probably a copy-paste thing. I think it's better this way scanning backwards, since it's less code and slightly less overhead. It also makes more sense in my opinion. But it's your call :-)