- Home /
split a string by its index
Lets say I've got a string and I want to split it in to a different string from its [1] to its [6], how do I do so? I have found strings split but I don't find it functional for numbers which change all the time.
Please help me. :(
Comment
Best Answer
Answer by benk0913 · May 12, 2013 at 11:25 AM
SOLVED used string.Substring(index spot, length)
Your answer
![](https://koobas.hobune.stream/wayback/20220613102052im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Split string from PlayePrefs 1 Answer
How to convert a string to int array in Unity C# 1 Answer
String split script 1 Answer
Change part of a string [Solved] 3 Answers
Get text between two tags C# 1 Answer