- added missing minified version
- added
equalsIgnoreCase#185
- fix #160
- added
splitRightandsplitLeftmethod #153
- add missing minified version
- update phpjs link in README #154
- fix #142
- fix
extendPrototype()method
- added
stripLeft([chars])andstripRight([chars])#133
- bugfix
underscore()for single letter "words" #131
S('oneAtATime').underscore().s //'one_at_a_time' instead of 'one_at_atime'BREAKING Now underscore() behaves as one would expect.
S('CarSpeed').underscore().s //'_car_speed'now
S('CarSpeed').underscore().s //'car_speed'endsWith(),startsWith()accept multiple arguments: Azharul Islam / #118template(): allow for spaces for readability: Azharul Islam / #119template(): if key does not exist, replace with empty string Azharul Islam / #117
- added
strip()#115
- forgot to bump version in actual
string.jsandstring.js.min
- bugfix
isAlpha()for empty strings #107 - added .npmignore. Closes #71
slugify()behavior changed, added methodlatinise(). #112
- bugfix
parseCSV()Sergio-Muriel / #97 - bugfix
wrapHTML()Sergio-Muriel / #100 - optimize
isAlpha()andisAlphaNumeric()Sergio-Muriel / #101
- added
wrapHTML()method, (#90)
- bugfix:
toBoolean()/toBool()treat1astrue. (arowla / #78)
- Changed behavior of 'between()'. Closes #62
padLeft,padRight, andpadsupport numbers as input now (nfriedly / #70)
- fixes to
template()(jprincipe / #69) - added stringjs-rails to docs. Closes #48
- added Bower support. Closes #61
- modified string.js to make it more extensible (jeffgran / #57)
- fix browser tests, closes #45, #56
- Fixes bug in
template()for falsey values. Closes #29 - added Makefile
- added correct
lines()implementation. (daxxog/#47) Closes #52
- updated homepage in
package.json - The configurable option "Escape character" is documented as "escape" but was implemented as "escapeChar" (Reggino #44)
- removed
lines(), better to not have it, then to do it incorrectly (#40) - added
humanize()method, (#34) - added
count()method, (#41)
- fixed CSV / undefined (Reggino / #37)
- fixed CSV parsing bug with escape. See #32, #35, #37 (Reggino / #37)
- added multi-line CSV parse (Reggino / #37)
- Added methods
between(),chompLeft(),chompRight(),ensureLeft(),ensureRight(). (mgutz / #31) - Removed support for Node v0.6. Added support for v0.10
- Modified
parseCSVto allow for escape input. (seanodell #32) - Allow
toCSV()to havenull. - Fix
decodeHTMLEntities()bug. #30
- Fixed truncate bug. #27
- Added
template().
- Added AMD support.
- Fixed replaceAll bug. #21
- Changed
slugifybehavior. #17 - Renamed
decodeHtmlEntitiestodecodeHTMLEntitiesfor consistency.decodeHtmlEntitiesis deprecated. #23
- Added
toBoolean()andtoBool()method. - Added
stripPunctuation()method. - Renamed
clobberPrototype()toextendPrototype(). - Added
padLeft(),padRight(), andpad().
- Translated from CoffeeScript to JavaScript.
- Added native JavaScript string functions such as
substr(),substring(),match(),indexOf(), etc. - Added
lengthproperty. - Renamed
ltrim()totrimLeft()andrtrim()totrimRight(). - Added
valueOf()method. - Added
toInt()`toInteger()andtoFloat()` methods. - Modified behavior of
isEmpty()to return true onundefinedornull. - Constructor will now cast the parameter to a string via its
toString()method. - Added
VERSIONvalue. Useful for browser dependency checking. - Added
lines()method. - Added
slugify()method. - Added
escapeHTML()andunescapeHTML()methods. - Added
truncate()method. - Added
stripTags()method. - Added
toCSV()andparseCSV()methods.
- Fixed bug in
left()closes #6 - Upgraded to CoffeeScript 1.3.*. Last CoffeeScript release of
string.js.
- Updated README to include Quirks/Credits.
- Added method
decodeHtmlEntities().
- Fixed method type
cloberPrototype()toclobberPrototype(). - Fixed Node.js testing bug that caused
TandFto be undefined functions. - Moved browser tests to its own directory.
- Updated README.
- Added
captialize(). - Added
repeat()/times(). - Added
isUpper()/isLower(). - Added
dasherize(),camelize(), andunderscore().
- Package.json updates.
- Package.json updates.
- Added a few more methods.
- Removed default behavior of modifying
String.prototype - Updated README to be a bit more detailed.
- Ditched Makefiles for Cakefiles.
- Added trim() method for IE browsers
- Moved string.coffee to lib/string.coffee
- Now included a minified
string.jsnamedstring.min.js - Updated README that now includes Browser usage instructions.
- Cleaned package.json file
- Removed development dependency on CoffeeScript and Jasmine
- Changed testing from Jasmine to Mocha
- Added
includesandcontainsmethods