Skip to content

ferhatelmas/zero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zero

Build Status GoDoc

detect and replace zero width characters in golang

install

go get github.com/ferhatelmas/zero

usage

import "github.com/ferhatelmas/zero"

s := "Lorem​Ipsum​Dolor"
zero.Has(s)
// true

zero.Replace(s, "|")
// Lorem|Ipsum|Dolor

zero.Replace(s, "")
// LoremIpsumDolor

About

Remove zero space characters

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages