本文介绍了请任何人解释这-> split(“字符串1",“字符串2")的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请任何人对此进行解释-> split("string1","string2")
Please anyone explain this--> split("string1","string2")
推荐答案
Split ("String1","String2")
String2是分号.
String1是根据string2的存在将被截断的文本字符串.
eq:
String2 is the delimeter.
String1 is the text string that will be chopped based on the existence of string2.
eq:
String1 = "123,456,789"
String2 = ","
var = split(string1,string2)
var(0) = "123"
var(1) = "456"
var(2) = "789"
var必须声明为数组变量.
var must be declared as an array variable.
这篇关于请任何人解释这-> split(“字符串1",“字符串2")的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!