Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前在每次出现正斜杠时拆分一个字符串。在使用反斜杠而不是正斜杠的路径的情况下,如果改为使用所有反斜杠,我该如何完成拆分功能?谢谢你的帮助。
Dim p() as string p = Split(strP, "/")'Or backward slash
p = someString.Split("/"c, "\"c)