3down vote | Here's a way to do it with Linq.
|
Liệt kê những bài viết mới nhất
Find occurent of character in string nth
1 Find occurent of character in string nth Sat Jan 16, 2016 10:45 pm
HdAd
Admin
2 Re: Find occurent of character in string nth Sat Jan 16, 2016 10:48 pm
HdAd
Admin
trong code trên 4 là số lần xuất hiện của kí tự đó. Ví dụ tìm kí tự * xuất hiện trong string "anh* sfsdf* dsfds* fdsfsd*" sẽ cho ra index của dấu * ở lần xuất hiện thứ 4
Similar topics
Permissions in this forum:
You cannot reply to topics in this forum