split

May 20, 2026 ยท View on GitHub

Shows how to use xtd::string::split method.

Sources

  • src/split.cpp
  • CMakeLists.txt

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Output

strings.length = 5
One
Two
Three
Four
Five

Contents

  1. 1Sources
  2. 2Build and run
  3. 3Output