unity string remove character 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
}