mirror of
https://gitea.com/actions/setup-python.git
synced 2024-11-22 18:19:35 +01:00
673 B
673 B
trim-right
Similar to
String#trim()
but removes only whitespace on the right
Install
$ npm install --save trim-right
Usage
var trimRight = require('trim-right');
trimRight(' unicorn ');
//=> ' unicorn'
Related
trim-left
- Similar toString#trim()
but removes only whitespace on the left
License
MIT © Sindre Sorhus