npm.io
1.0.2 • Published 7 years ago

stringplay

Licence
MIT
Version
1.0.2
Deps
0
Size
2 kB
Vulns
0
Weekly
0

@stringplay

Uppercase or lowercase a string from given starting index to end index

Install

$ npm install stringplay

Usage

const play= require("stringplay");

play.upper("something to change",3 ,7);
//=> "somETHIng to change"

play.lower("SOMETHING TO CHANGE",3 ,7);
//=> "SOMethiNG TO CHANGE"