1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Added Separator property for string splits

This commit is contained in:
Brian Fiete 2023-11-28 06:32:50 -05:00
parent 548ec92d55
commit 023b20dfee

View file

@ -3124,6 +3124,16 @@ namespace System
return .(mPtr + mMatchPos + offset, mStrLen - (mMatchPos+offset));
}
}
public char8 Separator
{
get
{
if (mMatchPos < 0)
return 0;
return mPtr[mMatchPos];
}
}
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
{
if (mCurCount >= mMaxCount)