unity how to remove from string code example
Example: unity delete specific text in a string
public string strOne = "Hello World";
public string strTwo = " World";
public void DeleteStrTwoFromStrOne()
{
strOne = strOne.Replace(strTwo, ""); //strOne = "Hello" now
}