mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-12 05:14:10 +02:00
Added Separator property for string splits
This commit is contained in:
parent
548ec92d55
commit
023b20dfee
1 changed files with 20 additions and 0 deletions
|
@ -3124,6 +3124,16 @@ namespace System
|
||||||
return .(mPtr + mMatchPos + offset, mStrLen - (mMatchPos+offset));
|
return .(mPtr + mMatchPos + offset, mStrLen - (mMatchPos+offset));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public char8 Separator
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (mMatchPos < 0)
|
||||||
|
return 0;
|
||||||
|
return mPtr[mMatchPos];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public bool MoveNext() mut
|
public bool MoveNext() mut
|
||||||
{
|
{
|
||||||
|
@ -3320,6 +3330,16 @@ namespace System
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public char8 Separator
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (mMatchPos < 0)
|
||||||
|
return 0;
|
||||||
|
return mPtr[mMatchPos];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public bool MoveNext() mut
|
public bool MoveNext() mut
|
||||||
{
|
{
|
||||||
if (mCurCount >= mMaxCount)
|
if (mCurCount >= mMaxCount)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue