You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes there's a case where you want to cut a piece of string in the middle. This is doable via mix of Substring and Append, but would be nice to have a function that just does this itself.
Suggested prototype:
String String.Remove(int startIndex, int count = -1);
if count is passed as < 0 (default), then this will remove everything starting with startIndex.
The text was updated successfully, but these errors were encountered:
Sometimes there's a case where you want to cut a piece of string in the middle. This is doable via mix of Substring and Append, but would be nice to have a function that just does this itself.
Suggested prototype:
if count is passed as < 0 (default), then this will remove everything starting with
startIndex
.The text was updated successfully, but these errors were encountered: