contains
September 14, 2025 ยท View on GitHub
Shows how to use xtd::string::contains method.
Sources
Build and run
Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:
xtdc run
Output
The string: "This is a literal string" contains "is" substring.
The string: "This is a literal string" does not contain "z" character.