namespace ConsoleApplication23
{
class Program
{
static void Main(string[] args)
{

string n = "asfnsjasnbdkasngowrmlaswnlofienm";

int a = n.IndexOf("as");
int b = n.IndexOf("as",(a+1));
string c = n.Substring(b,2);
Console.Write(a);
Console.Write(b);
Console.Write(c);
Console.ReadLine();
}
}
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-28
猜你喜欢
  • 2022-12-23
  • 2021-08-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
相关资源
相似解决方案