Skip to content
davidxuangPublic

About

.NET port of https://github.com/vinta/pangu.js

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pangu.NET

Paranoid text spacing for good readability, to automatically insert whitespace between CJK (Chinese, Japanese, Korean) and half-width characters (alphabetical letters, numerical digits and symbols).

NuGet Package

Pangu.NET on NuGet.org

Usage

using Pangu;

var text = "当你凝视着bug,bug也凝视着你";
var newText = Pangu.SpacingText(text); // 当你凝视着 bug,bug 也凝视着你
Pangu.SpacingText(ref text);
using Pangu.Extensions;

var text = "与PM战斗的人,应当小心自己不要成为PM".SpacingText(); // 与 PM 战斗的人,应当小心自己不要成为 PM

About

.NET port of https://github.com/vinta/pangu.js

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages