You can use the IndexOf method of String class: C#. string test = "This is a test string.\r\n"; int index = test.IndexOf("\r\n"); // index ...
確定! 回上一頁