Choose among several values separated by slashes within a string.
$ npm install --save choose-within-string
var chooseWithinString = require('choose-within-string')
chooseWithinString('You just won $1/1,000/1,000,000! Now you are poor/happy/rich!', 2)
// "You just won $1,000,000! Now you are rich!"
ISC © Raine Lourie