Learn C++
Menu
  • Home
  • Learn C++
    • Language Feature
    • Syntax
    • Code Snippet
    • Videos
  • C++
    • C++11
  • Community
  • Free Licenses

Browsing tag

erase()

C++C++11C++14C++17Introduction to C++Learn C++

3 Ways To Remove Characters From WString In A Modern C++ App

By Yilmaz Yoru
June 10, 2022
How can I remove a character from a wide string in my C++ app? How can I use pop_back() method in wide strings? Can I use erase() and resize() methods in std::wstring to remove characters? Modern C++ usesWide StringsandUnicode Stringsto supportworldwide languages.Wide Strings (std::wstring)useswcha_tras the character type which means they…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

What Is The Erase WString Method In A Modern C++ App

By Yilmaz Yoru
May 13, 2022
How can I use erase() method of std::wstring? How can I erase part of a wide string? Here are the answers with modern C++ app examples. Generally, as an introduction to C++, in addition to int, float, double, string there is another data type called wide string that we…
C++C++11C++14C++17Introduction to C++Learn C++

How To Erase/Delete Part Of A String In C++ Software

By Yilmaz Yoru
April 15, 2022
How can I use erase() method of std::string? How can I erase part of a string in my C++ software? Here are the answers with C++ examples. Generally, as an introduction to C++, in addition to int, float, double there is another data type called string that we use for…
  • Reduce development time and get to market faster with Embarcadero C++Builder.
    Design. Code. Compile. Deploy.

    Start Free Trial

    Free C++Builder Community Edition
  • RAD Studio Guide For ManagersDownload Now!
  • RSS Newest questions tagged c++builder – Stack Overflow

    • How to copy C++ Builder control TEdit text into char * variable
    • C++Builder - linker errors with shellctrls when compiling with Clang [duplicate]
    • How to use Pjsip library in Embarcadero C++Builder
  • RSS Newest questions tagged c++ – Stack Overflow

    • Can I import in the global module fragment?
    • How to create coroutines "std::generator<type>" of C++ in function "main"? [closed]
    • How should I test Serialization/Deserialization with Google Test?
  • RSS Newest questions tagged windows – Stack Overflow

    • InetAddress could not resolve encoded ip v6 ::1 on windows java
    • How to handle proxy-unaware tools behind a corporate proxy (Node.js, npm, git, etc.)
    • Winforms app cannot wake or turn on display on Windows Modern Standby (S0 Low Power Idle) [closed]
  • LearnCPlusPlus.org is a C++ tutorial and learning platform for Windows developers using C++ to build Windows applications. It focuses on tools that allow rapid development and programming of both Win32 and Win64 applications. Additionally, it supports deploying apps to iOS.

    © Copyright 2025 Embarcadero

  • C++ Tools

    • Download C++Builder
    • Download Dev-C++
  • Links

    • Learn Delphi
    • Embarcadero Blogs
    • Python GUI
    • DelphiFeeds