1.0.12 • Published 8 months ago

string-split-keep2 v1.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

string-split-keep

Split strings without applying separator after limit; Negative limit starts from the end. No regex separators.

	var ssplit = require("string-split-keep")  
	  
	ssplit("word1 word2 word3", " ", 2) //["word1", "word2 word3"]  
	ssplit("word1 word2 word3", " ", -2) //["word1 word2", "word3"]
1.0.12

8 months ago

1.0.11

1 year ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago