mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 15:46:05 +02:00
Added String.Substring
This commit is contained in:
parent
c91e8e0fb4
commit
8dbfd1b0e3
1 changed files with 12 additions and 0 deletions
|
@ -716,6 +716,18 @@ namespace System
|
|||
return i;
|
||||
}
|
||||
|
||||
[NoDiscard]
|
||||
public StringView Substring(int pos)
|
||||
{
|
||||
return .(this, pos);
|
||||
}
|
||||
|
||||
[NoDiscard]
|
||||
public StringView Substring(int pos, int length)
|
||||
{
|
||||
return .(this, pos, length);
|
||||
}
|
||||
|
||||
public void Append(StringView strView)
|
||||
{
|
||||
Append(strView.Ptr, strView.Length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue