約1,700件1ページ目

日本語のみで絞り込む

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

  • 最終更新日:1年以内
  • 2026/3/2 -The 2nd parameter of std::string::substr() is a count, but you are treating it as an index instead. You want a substring from index 1 to index length-1 ...

    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/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/16 -Task Strip control codes and extended characters from a string. The solution should demonstrate how to achieve each of the following results: a string with.

    2025/12/18 -To extract a substring string str = "codeforces"; string sub_str = str.substr(4,6);//forces; Format: substr(start_index, length of the substring)//0-based ...

    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/11/6 -Master the essential String methods that let you search, compare, and extract text in Java programs.

    2025/11/30 -Erase one or more characters from the string. This function removes a sequence of count characters starting from position. Parameters. position, Position of the ...

    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/7/2 -Master 1D and 2D arrays, array-to-pointer decay, std::array, C-strings, std::string methods, and type conversions — with a palindrome worked example.