on-internet
← Community

Replace part of a string with another string

Stack Overflow ·

How do I replace part of a string with another string using the standard C++ libraries? QString s("hello $name"); // Example using Qt. s.replace("$name", "Somename");

Comments

Sign in or sign up to comment and upvote.

No comments yet.