1
我有以下字符串:多性格分裂不起作用
"367","90","Hey, this is a "cool" company","","","Anonymous"
我想這separted到字符串數組所以要根據this solution我試圖
Dim strSource As String = """367"",""90"",""Hey, this is a "cool" company"","""","""",""Anonymous"""
Dim parts As String() = strSource.Split(New String() {"", ""}, StringSplitOptions.None)
但有什麼不對勁因爲我只得到一個字符串元素而不是6我想:
1. 367
2. 90
3. Hey, this is a "cool" company
4.
5.
6. Anonymous
也許這是一個錯字,但分割separtor有一個空格,而字符串沒有它。 「」,「」 - >「」,「」 – Jesus