Skip to content

Overload_Cyjb_StringView_IndexOf

CYJB edited this page Mar 20, 2024 · 2 revisions

StringView.IndexOf 方法

重载列表

 

名称 说明
公共方法 IndexOf(Char) 返回当前字符串视图中指定字符首次出现的索引。
公共方法 IndexOf(ReadOnlySpan(Char)) 返回当前字符串视图中指定字符串首次出现的索引。
公共方法 IndexOf(Char, Int32) 返回当前字符串视图中指定字符首次出现的索引。
公共方法 IndexOf(Char, StringComparison) 返回当前字符串视图中指定字符首次出现的索引。
公共方法 IndexOf(ReadOnlySpan(Char), Int32) 返回当前字符串视图中指定字符串首次出现的索引。
公共方法 IndexOf(ReadOnlySpan(Char), StringComparison) 返回当前字符串视图中指定字符串首次出现的索引。
公共方法 IndexOf(Char, Int32, Int32) 返回当前字符串视图中指定字符首次出现的索引。
公共方法 IndexOf(ReadOnlySpan(Char), Int32, Int32) 返回当前字符串视图中指定字符串首次出现的索引。
公共方法 IndexOf(ReadOnlySpan(Char), Int32, StringComparison) 返回当前字符串视图中指定字符串首次出现的索引。
公共方法 IndexOf(ReadOnlySpan(Char), Int32, Int32, StringComparison) 返回当前字符串视图中指定字符串首次出现的索引。
  Back to Top

参见

Reference

StringView 结构
Cyjb 命名空间

Clone this wiki locally