gpt4 book ai didi

vb.net:清除字符串数组的所有内容

转载 作者:行者123 更新时间:2023-12-04 16:17:29 25 4
gpt4 key购买 nike

我有这个:

    Dim split As String() = temp_string.Split(",")

''#feed all info into global variables
patient_id = split(0)
doc_name = split(1)
lot__no = split(2)
patient_name = split(3)

我如何清除 split() 的所有内容?

最佳答案

Array.Clear(split, 0, split.Length)

关于vb.net:清除字符串数组的所有内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1638998/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com