C++ Logo

std-proposals

Advanced search

Re: [std-proposals] String Slicing Draft Proposal

From: Sebastian Wittmeier <wittmeier_at_[hidden]>
Date: Wed, 27 Mar 2024 02:51:02 +0100
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr .substr seems to be deprecated? And never been intended to be part of EcmaScript? -----Urspr√ľngliche Nachricht----- Von:Zhihao Yuan <zy_at_[hidden]> As a prior art, JavaScript String provides both .substr and .substring methods, where the prior accepts (start, count) and the latter accepts (start, end).

Received on 2024-03-27 01:51:06