Little-Star-Star / zh_cn_utils

A library for Dart developers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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());
}

About

A library for Dart developers.

License:MIT License


Languages

Language:Dart 100.0%