split string at index

前端 未结 5 2043
不知归路
不知归路 2020-12-06 16:08

How would I split a string at a particular index? e.g split string at index 10, making the string now equal to everything up to index 10 and then dumping the remainder.

5条回答
提交回复
热议问题