gpt4 book ai didi

c# - 为什么 Split from System.String 不接受字符串作为重载?

转载 作者:行者123 更新时间:2023-11-30 15:01:24 25 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
Why isn’t there a string.Split(string) overload?

有几种重载,但没有一种允许发送字符串。这是开发人员经常使用的,至少我的团队是这样。

string[] x = "abc|||dev".Split("|||");

为什么?


拜托,我不是在问如何拆分传递的字符串。

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