Languages
[Edit]
EN

TypeScript - remove last character from string

0 points
Created by:
Mahir-Bright
1281

In TypeScript it is possible to remove last character from string in following ways.

1. Using String slice() method

Edit

2. Using String substring() method

Edit

3. Using String replace() method with regular expression

Edit

4. Using String replace() method

Edit
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join