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
  • 2020 Top 5 Market Trends Impacting Software Development CompaniesDownload Now!
  • RSS Newest questions tagged c++builder – Stack Overflow

    • How to copy C++ Builder control TEdit text into char * variable
    • How to use Pjsip library in Embarcadero C++Builder
    • Why does my VCL form created inside a DLL disappear when minimised
  • RSS Newest questions tagged c++ – Stack Overflow

    • How does an online compiler work under the hood? [closed]
    • Error in a Poco header: Unable to find string literal operator 'operator""s' with 'const char [1]', 'unsigned int' arguments [closed]
    • Is it OK for the same object being "rvalue-used" twice consecutively?
  • RSS Newest questions tagged windows – Stack Overflow

    • Path.GetFullPath() is returning input with \r
    • intellisense terminal suggest not working in git bash
    • Is there a way to reliably detect a removed directory via SMB on Windows?
  • 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