Skip to content

farhadamjady/separateit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

separateit

Optional separator with any delimeter

const separateit = require('sparateit');
separateit(" 100000000000", { delimiter:",", flag:"g", num:3 } )

// the result will be
// 100,000,000

api

separateit(string, options)

options

  • delimiter The separator character (default comma)
  • flag Special flag of regex (defaults g)
  • num The number of characters to separate (default 3)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published