Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

cpptrim

Simple trim function library for C++ strings (removes leading and trailing whitespace from strings). Include the .h or copy the function to your source.

How to install

Copy cpptrim.h to your project folder and add include "cpptrim.h". You can also copy the trim function from cpptrim.h to your own project without including anything.

How to use

Just call trim(yourString); and you are done, the string is treamed. For more information check example.cpp included in the example folder.

About

Simple string trimming function library for C++ (removes leading and trailing whitespace from strings). Single header file. Does what it says in the box.

Resources

License

Releases

No releases published

Packages

No packages published

Languages