我想在不使用任何字符串方法(包括indexof)的情况下找到字符串中子字符串的位置.我尝试了很多次却失败了.有人会告诉我怎么做C#?我们可以使用.Length运算符.
c# string substring
c# ×1
string ×1
substring ×1