MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / string TextReplace

Method string TextReplace

include/Functions.hpp:377–384  ·  view source on GitHub ↗

* Replace text string */

Source from the content-addressed store, hash-verified

375 * Replace text string
376 */
377RLCPP_MAYBEUNUSED RLCPPAPI std::string
378TextReplace(const std::string& text, const std::string& replace, const std::string& by) {
379 const char* output = ::TextReplace(text.c_str(), replace.c_str(), by.c_str());
380 if (output != NULL) {
381 return std::string(output);
382 }
383 return "";
384}
385
386/**
387 * Insert text in a position

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected