home, UNITY, updated

SubString Functions in unity

To get substring from a string, You can use SubString function like this:
string str = "Hello World";
Debug.Log(str.Substring(2,6));

output: llo Wo

Related Articles

post a comment