Overload  1.1
Game engine with editor
Public Member Functions | Static Public Member Functions | List of all members
OvTools::Utils::String Class Reference

#include <String.h>

Public Member Functions

 String ()=delete
 

Static Public Member Functions

static bool Replace (std::string &p_target, const std::string &p_from, const std::string &p_to)
 
static void ReplaceAll (std::string &p_target, const std::string &p_from, const std::string &p_to)
 

Constructor & Destructor Documentation

◆ String()

OvTools::Utils::String::String ( )
delete

Disabled constructor

Member Function Documentation

◆ Replace()

bool OvTools::Utils::String::Replace ( std::string &  p_target,
const std::string &  p_from,
const std::string &  p_to 
)
static

Replace the first occurence of p_from by p_to in the given string

Parameters
p_target(The string to modify)
p_from
p_to@project: Overload
Author
: Overload Tech. @restrictions: This software may not be resold, redistributed or otherwise conveyed to a third party.

◆ ReplaceAll()

void OvTools::Utils::String::ReplaceAll ( std::string &  p_target,
const std::string &  p_from,
const std::string &  p_to 
)
static

Replace every occurence of p_from by p_to in the given string

Parameters
p_target(The string to modify)
p_from
p_to

The documentation for this class was generated from the following files: