mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
commit
004d5d8d1c
1 changed files with 5 additions and 0 deletions
|
@ -1709,6 +1709,11 @@ namespace System
|
|||
return EqualsHelper(this.Ptr + mLength - b.[Friend]mLength, b.Ptr, b.[Friend]mLength);
|
||||
}
|
||||
|
||||
public bool StartsWith(char8 c)
|
||||
{
|
||||
return mLength != 0 && Ptr[0] == c;
|
||||
}
|
||||
|
||||
public bool EndsWith(char8 c)
|
||||
{
|
||||
if (mLength == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue