zh_cn_utils 1.0.0 copy "zh_cn_utils: ^1.0.0" to clipboard
zh_cn_utils: ^1.0.0 copied to clipboard

A chinese handle utils.

A library for Dart developers.

Created from templates made available by Stagehand under a BSD-style license.

Usage #

A simple usage example:

import 'package:zh_cn_utils/zh_cn_utils.dart';

void main() {
  print(ZhCnUtils.isCnZnChar('好'));
  var zhCnUtils = ZhCnUtils('你好,Light Hello,亮');
  print(zhCnUtils.isAllChZnInStr());
  print(zhCnUtils.isHaveChZnInStr());
  print(zhCnUtils.getLenIsZhCnInStr());
  print(zhCnUtils.getLenInStrByZhCn());
  print(zhCnUtils.getLenInStrByNotZhCn());
  print(zhCnUtils.getZhCnList());
}
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A chinese handle utils.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

More

Packages that depend on zh_cn_utils