<commit_before># libchen

[![Build Status](https://img.shields.io/travis/chensoft/libchen.svg?label=iOS%20|%20Android%20|%20macOS%20|%20Linux)](https://travis-ci.org/chensoft/libchen)
[![Build status](https://img.shields.io/appveyor/ci/chensoft/libchen.svg?label=Windows)](https://ci.appveyor.com/project/chensoft/libchen)
[![Coverage Status](https://img.shields.io/codecov/c/github/chensoft/libchen.svg)](https://codecov.io/gh/chensoft/libchen)
[![release](https://img.shields.io/github/release/chensoft/libchen.svg?colorB=ff69b4)](https://github.com/chensoft/libchen/releases/latest)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/hyperium/hyper/master/LICENSE)

libchen is a general purpose C++ toolkit, it contains many useful and handy methods for creating complex software. It's cross-platform and released under the MIT License.

## Platforms

* iOS (Xcode 8+)
* Android (NDK r10e+)
* macOS (Xcode 8+)
* Linux (GCC 4.9+)
* Windows (VS 2015+)

## Features

* base - basic part
    * str: string format, print, equality test, prefix & suffix, join, replace, trim and more
    * utf8: check utf-8 string character count, retrieve sub string, check bom
    * any: provide a wrapper to hold any type<commit_msg>readme: add logo for badge<commit_after># libchen

[![Build Status](https://img.shields.io/travis/chensoft/libchen.svg?logo=travis&label=iOS%20|%20Android%20|%20macOS%20|%20Linux)](https://travis-ci.org/chensoft/libchen)
[![Build status](https://img.shields.io/appveyor/ci/chensoft/libchen.svg?logo=appveyor&label=Windows)](https://ci.appveyor.com/project/chensoft/libchen)
[![Coverage Status](https://img.shields.io/codecov/c/github/chensoft/libchen.svg)](https://codecov.io/gh/chensoft/libchen)
[![release](https://img.shields.io/github/release/chensoft/libchen.svg?colorB=ff69b4)](https://github.com/chensoft/libchen/releases/latest)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/hyperium/hyper/master/LICENSE)

libchen is a general purpose C++ toolkit, it contains many useful and handy methods for creating complex software. It's cross-platform and released under the MIT License.

## Platforms

* iOS (Xcode 8+)
* Android (NDK r10e+)
* macOS (Xcode 8+)
* Linux (GCC 4.9+)
* Windows (VS 2015+)

## Features

* base - basic part
    * str: string format, print, equality test, prefix & suffix, join, replace, trim and more
    * utf8: check utf-8 string character count, retrieve sub string, check bom
    * any: provide a wrapper to hold any type
{'fraction_non_alphanumeric': 0.15948777648428406, 'fraction_numerical': 0.020954598370197905, 'mean_word_length': 5.242130750605327, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 20, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2288811', 'n_tokens_mistral': 935, 'n_tokens_neox': 864, 'n_words': 181}