M_Cyjb_StringView_EndsWith - CYJB/Cyjb GitHub Wiki
返回当前字符串视图的结尾是否与指定的字符匹配。
Namespace: Cyjb
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public bool EndsWith(
char value
)
- value
- Type: System.Char
要比较的字符。
Type: Boolean
如果 value 与当前字符串视图的结尾匹配,则返回 true
; 否则返回 false
。
查找时使用区分大小写和不区分区域性的序列比较。