約1,290件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:6か月以内
  • 2026/5/26 -The string::erase() function in C++ is a built-in function of the string class that is used to remove characters from a string. It can erase a single character, ...

    2026/8/31 -The substr() function in C++ is used to extract a portion of a string and return it as a new string. It extracts a substring starting from a specified ...

    2026/10/3 -概要. 部分文字列を取得する。 pos 番目から n 要素の文字列を返す。 引数省略時は、先頭 ...

    2026/8/25 -Strings in C++ tutorial covering std::string creation, input, indexing, editing, search, common errors, output tracing, and fully runnable C++17 examples.

    2026/11/2 -Demonstrate how to assign an empty string to a variable. Demonstrate how to check that a string is empty. Demonstrate how to check that a string is not empty.

    2026/11/10 -TrimRight returns a slice of the string s, with all trailing Unicode code points contained in cutset removed. To remove a suffix, use TrimSuffix instead.

    2026/5/29 -The std::string::replace() function in C++ is used to replace characters or substrings inside a string. It is a member function of the std::string class and ...

    2026/6/18 -C++ string manipulation for interviews: std::string vs string_view, the size_t trap, tolower pitfalls, and three O(n) patterns that win most problems.

    2026/5/31 -Use str.replace() for a single character or substring, str.translate() or str.maketrans() to drop several characters in one pass ...

    2026/10/29 -Write C++ Program to remove all characters in a string except alphabets. 8. Write C++ Program to sort elements in the lexicographical order (dictionary order).