Tags: garysye/string.js
Tags
- added `splitRight` and `splitLeft` method [jprichardson#153](jprich… …ardson#153)
- add missing minified version - update phpjs link in README [jprichardson#154](jprichardson#154)
- added `titleCase()` method [jprichardson#149](jprichardson#149) - fix `underscore()` [jprichardson#148](jprichardson#148)
3.1.1 / 2015-03-26 ------------------ - hack to work around the improper behavior (modifying of string prototype) of [shelljs](https://github.com/arturadib/shelljs) see: [127](jprichardson#127), [128](jprichardson#128)
3.1.0 / 2015-03-21 ------------------ - added `stripLeft([chars])` and `stripRight([chars])` [jprichardson#133](jprichardson#133)
3.0.1 / 2015-03-16 ------------------ * bugfix `underscore()` for single letter "words" [jprichardson#131](jprichardson#131) ```js S('oneAtATime').underscore().s //'one_at_a_time' instead of 'one_at_atime' ```
3.0.0 / 2014-12-08
------------------
**BREAKING** Now `underscore()` behaves as one would expect.
```js
S('CarSpeed').underscore().s //'_car_speed'
```
now
```js
S('CarSpeed').underscore().s //'car_speed'
```
See [jprichardson#122](jprichardson#122) [jprichardson#98](jprichardson#98)
2.2.0 / 2014-10-20 ------------------ - `endsWith()`, `startsWith()` accept multiple arguments: [Azharul Islam / jprichardson#118](jprichardson#118) - `template()`: allow for spaces for readability: [Azharul Islam / jprichardson#119](jprichardson#119) - `template()`: if key does not exist, replace with empty string [Azharul Islam / jprichardson#117](jprichardson#117)
PreviousNext