1.1.7 • Published 3 years ago
motty_string v1.1.7
API
Install
npm install motty_string
Usage
var test = require('motty_string');
test.reverse(string);
test.substring(start,length,word);
test.duplicate(string,duplicateAmount);
Run tests
var reverse = test.reverse("shalom");
var substring = test.substring(1,5,"shalom");
var duplicate = test.duplicate("shalom",3);
console.log(reverse); --> "molahs"
console.log(substring); --> "halom"
console.log(duplicate); --> "shalomshalomshalom"
Author
👤 motty bar
- LinkedIn: @mottybar
Show your support
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator