Library for String in C++.
For Downloading zip file Click Here .
For documentation of usa::string Click Here .
- Clone or download
the
repo, and then, - Paste the header files usastring.h , usastringfunctool.h and Resources in your program directory where your
source.cppfile is present. - Include
usastringheader file in yoursource.cppfile like#include"usastring.h".
#include <iostream>
#include "usastring.h"
using namespace std;
int main()
{
// Normal ways
usa::string str1 = "Hello World!";
str1.toUpperCase();
auto str2 = usa::string("Hello World!").toUpperCase();
// If you have C++14 or Above Version.
auto str3 = "Hello World!"x.toUpperCase();
return 0;
}usa::string Class have some built-in methods which makes your life very easy.
For more Click Here .