約4,830件1ページ目

日本語のみで絞り込む

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

  • 最終更新日:1年以内
  • 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/10/13 -Replaces first N matches of a pattern with another string. trait method. std::os::unix::io::StdioExt::replace_fd.

    2026/7/24 -The idea is to traverse s and check at every index whether substring s1 starts from there. If yes, append s2 to the result and skip the matched part. Otherwise, ...

    2025/11/30 -Replace a substring with another string. This function replaces the substring that starts at index position and spans length characters with the string ...

    2026/1/7 -You can use the std::string method replace() . This method takes three arguments: the starting index of the replacement, the length of the substring to replace, ...

    2026/9/4 -The substr() function is a member of the std::string class that allows you to extract a substring from a given string, and also specifies the starting position ...

    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/10/3 -... stringのリソースを再利用して部分文字列を保持するstringオブジェクトを作成 std::string result3 = std::string("hello").substr(5, 4); // C++20 : sから部分文字列 ...

    2026/4/12 -One of the most important concepts every modern C++ programmer should understand is the difference between std::string and std::string_view.

    2026/9/11 -Learn how to split a string in C++ by space, by a character, or by a substring. Three clear methods using stringstream, getline, and find, with examples.