Title: C++ String Basics | hacking C++
Open Graph Title: C++ String Basics
X Title: C++ String Basics
Description: The basics of how to store and manipulate text (characters, strings) in C++.
Open Graph Description: The basics of how to store and manipulate text (characters, strings) in C++.
X Description: The basics of how to store and manipulate text (characters, strings) in C++.
Opengraph URL: https://hackingcpp.com/cpp/std/string_basics.html
X: @hackingcpp
Domain: hackingcpp.com
| None | 86400 |
| keyword | cpp string strings string_view substring array char character literal raw utf utf8 utf-8 unicode wide multibyte |
| author | André Müller |
| date | 2026-06-08 |
| copyright | 2019-2026 André Müller |
| theme-color | #0070C0 |
| og:image | assets/hcpp-square.png |
| og:site_name | hacking C++ |
| og:locale | en_US |
| og:type | article |
| twitter:card | summary |
| twitter:image | assets/hcpp-square.png |
| twitter:creator | @hackingcpp |
| hcpp-page-category | cat-article |
| hcpp-tags | C++ C++11 C++14 article beginner-level modern-C++ strings |
Links:
Viewport: width=device-width, initial-scale=1.0