Answers for "unity delete specific text in a string"

C#
9

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
}
Posted by: Guest on April-04-2020

Code answers related to "unity delete specific text in a string"

C# Answers by Framework

Browse Popular Code Answers by Language