unity how to delete a character in 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
}