About 448,000 results
Open links in new tab
  1. String Functions in C++ - GeeksforGeeks

    Apr 24, 2025 · In C++, a stream/sequence of characters is stored in a char array. C++ includes the std::string class that is used to represent strings. It is one of the most fundamental …

  2. string - C++ Users

    Strings are objects that represent sequences of characters. The standard string class provides support for such objects with an interface similar to that of a standard container of bytes, but …

  3. C++ string Library Reference (string functions) - W3Schools

    C++ string Functions. The <string> library has many functions that allow you to perform tasks on strings. A list of popular string functions can be found in the table below.

  4. Strings in C++ - GeeksforGeeks

    4 days ago · C++ provides some inbuilt functions which are used for string manipulation, such as the strcpy () and strcat () functions for copying and concatenating strings.

  5. std::basic_string - cppreference.com

    Nov 10, 2024 · class Traits =std::char_traits< CharT >>using basic_string = std::basic_string< CharT, Traits, std::pmr::polymorphic_allocator< CharT >>; The class template basic_string …

  6. Strings library - cppreference.com

    Nov 27, 2024 · String creation, manipulation, and destruction are all handled by a convenient set of class methods and related functions. The class template std::basic_string_view provides a …

  7. std::string class in C++ - GeeksforGeeks

    Jan 11, 2025 · String class defines a number of functionalities that allow manifold operations on strings. Character arrays do not offer many inbuilt functions to manipulate strings. This …

  8. C++ Strings - W3Schools

    Strings are used for storing text/characters. For example, "Hello World" is a string. A string variable contains a collection of characters surrounded by double quotes: Create a variable of …

  9. Strings in C++: String Functions In C++ With Example - ScholarHat

    Strings in C++ can be defined either using the std::string class or the C-style character arrays. 1. C-Style Character String. C-style type of strings in C++ are inherited from strings in C …

  10. List of all String Functions in C++ with Examples

    String Functions in C++: There is a different type of functions on strings. They are as follows: Input Functions; Capacity Functions; Iterator Functions; manipulating Functions; And these …

Refresh