• Stars
    star
    128
  • Rank 271,173 (Top 6 %)
  • Language
    C++
  • Created over 13 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

C++ String Toolkit Library https://www.partow.net/programming/strtk/index.html
C++ String Toolkit Library

[INTRODUCTION]
The C++ String Toolkit  Library (StrTk) consists of  robust, optimized
and portable string processing algorithms for the C++ language.  StrTk
is  designed to  be easy  to use  and integrate  within existing  code
bases. Furthermore the library has  a rich set of features  that makes
light work of any kind of string processing task.




[CAPABILITIES]
The StrTk library has the following capabilities:
 * Generic string tokenizer and token iterators
 * Fast Split routines
 * User specified delimiter and splitter policies (simple and regex based etc.)
 * Conversions between data and hex and base-64
 * In-place removal and replace routines
 * Wild-card matching and globbing
 * Search and Replace
 * Fast token grid and Comma Separated Values (CSV and DSV) processing
 * Extremely fast String to Integer, Double and other POD conversions
 * Extensible string processing templates and algorithms (eg: combinatorics and randomizations)
 * Prefix tree and Bloom filter structures for efficient string matching and testing
 * Fast and simple-to-use binary serialization
 * Seamless integration with STL and Boost
 * Easy to use wrappers of common string processing usage patterns
 * Single header file solution requires no installation or building




[COPYRIGHT NOTICE]
Free  use  of  the  String  Toolkit  Library  is  permitted  under the
guidelines and  in accordance  with the  most current  version of  the
MIT License.
http://www.opensource.org/licenses/MIT



[DOWNLOADS & UPDATES]
All updates  and the most recent version of the C++ String Toolkit can
be found at:
(1) http://www.partow.net/programming/strtk/index.html
(2) http://strtk.partow.net

Code repository:
https://github.com/ArashPartow/strtk



[INSTALLATION]
(1) strtk.hpp  should be  placed in  a project  or system include path
(e.g: /usr/include/).

(2) If the Boost libraries  (random, regex,  lexical_cast etc) are not
available  or  it  not  wished   they  be  used  then  the   following
preprocessor directive needs defining, either in code before strtk.hpp
is included or as a compiler switch:
   (*) strtk_no_tr1_or_boost

(3) It is advisable to have either Boost installed or a TR1  compliant
C++ standard library. Installation of Boost on:
(*) Win32  : http://www.boostpro.com/download
(*) Ubuntu : boost packages via apt-get or synaptic
(*) Fedora : yum -y install boost-devel
(*) http://www.boost.org/doc/libs/release/more/getting_started/index.html



[COMPILATION]
(1) For a complete build: make clean all
(2) For a PGO build: make clean pgo
(3) To strip executables: make strip_bin



[COMPILER COMPATIBILITY]
(*) GNU Compiler Collection (4.1+)
(*) Intel C++ Compiler (9.x+)
(*) Clang/LLVM (1.1+)
(*) PGI C++ (10.x+)
(*) Microsoft Visual Studio C++ Compiler (8.1+)
(*) IBM XL C/C++ (10.x+)
(*) C++ Builder (XE4+)



[FILES]
(00) Makefile
(01) readme.txt
(02) strtk.hpp
(03) strtk_bloom_filter_example.cpp
(04) strtk_combinations.cpp
(05) strtk_combinator_example.cpp
(06) strtk_converters_example.cpp
(07) strtk_examples.cpp
(08) strtk_glober.cpp
(09) strtk_hexview.cpp
(10) strtk_ipv4_parser.cpp
(11) strtk_keyvalue_example.cpp
(12) strtk_nth_combination_example.cpp
(13) strtk_numstats.cpp
(14) strtk_parse_test.cpp
(15) strtk_period_parser.cpp
(16) strtk_random_line.cpp
(17) strtk_randomizer.cpp
(18) strtk_search_trie_example.cpp
(19) strtk_serializer_example.cpp
(20) strtk_text_parser_example01.cpp
(21) strtk_text_parser_example02.cpp
(22) strtk_tokengrid_example.cpp
(23) strtk_tokenizer_cmp.cpp
(24) strtk_tokenizer_test.cpp
(25) strtk_wordfreq.cpp

More Repositories

1

exprtk

C++ Mathematical Expression Parsing And Evaluation Library https://www.partow.net/programming/exprtk/index.html
C++
574
star
2

bitmap

C++ Bitmap Library https://www.partow.net/programming/bitmap/index.html
C++
158
star
3

wykobi

Wykobi C++ Computational Geometry Library https://www.wykobi.com
C++
157
star
4

proxy

C++ TCP Proxy Server https://www.partow.net/programming/tcpproxy/index.html
C++
141
star
5

bloom

C++ Bloom Filter Library https://www.partow.net/programming/bloomfilter/index.html
C++
128
star
6

math-parser-benchmark-project

C++ Mathematical Expression Parser Benchmark
C++
121
star
7

schifra

C++ Reed Solomon Error Correcting Library https://www.schifra.com
C++
46
star
8

lexertk

C++ Lexer Toolkit Library (LexerTk) https://www.partow.net/programming/lexertk/index.html
C++
28
star
9

hash

General Purpose Hash Function Algorithms https://www.partow.net/programming/hashfunctions/index.html
C++
18
star
10

exprtk-extras

C++ Mathematical Expression Library Extra Examples https://www.partow.net/programming/exprtk/index.html
C++
13
star
11

galois

C++ Galois Finite Field Arithmetic Library https://www.partow.net/projects/galois/index.html
C++
8
star
12

fastgeo

FastGEO Computational Geometry Library https://www.partow.net/projects/fastgeo/index.html
Pascal
6
star
13

tcpproxy-variations

C++ TCP Proxy Server Variations
C++
5
star
14

exprtk-custom-types

Exprtk Custom Numeric Types
C++
2
star
15

filter

C++ CSV and DSV Filter Library https://www.partow.net/programming/dsvfilter/index.html
C++
2
star
16

sumtk

C++ Summation Toolkit (SumTk) http://www.partow.net/programming/sumtk/index.html
C++
1
star
17

exprtk-perftest

C++
1
star
18

nanocalc

nanocalc lightweight scientific calculator
C++
1
star
19

registry

Win32 Registry Activity Monitor https://www.partow.net/programming/registrymonitor/index.html
Pascal
1
star