Skip to content

Overload_Cyjb_StringView_LastIndexOf

CYJB edited this page Mar 20, 2024 · 2 revisions

StringView.LastIndexOf 方法

重载列表

 

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

参见

Reference

StringView 结构
Cyjb 命名空间

Clone this wiki locally