xtd.string - Reference Guide  0.1.1
Modern c++17 library to add string utilities on Windows, macOS, Linux, iOS and android.
xtd.strings - Reference Guide Documentation


  • New istring, iu16string, iu32string, iwstring immutable string types and immutable_string_base immutable string class.
  • Immutable string litteral operators _is.
  • String format helper.
  • String concat helper.
  • String padding helper.
  • Join strings helper.
  • Split strings helper.
  • and more...

For more information see xtd.strings website (or markdown documentations) and Reference Guide).


The classic first application 'Hello World'.


#include <xtd/xtd.strings>
#include <iostream>
using namespace std;
using namespace string_literals;
using namespace xtd;
// The main entry point for the application.
int main() {
cout << strings::format("{}, {}!", "Hello", "World"s) << endl;

For more examples see examples.

Download and install

Before running examples you must download and install xtd.strings. To download and install it read Downloads.md file.