Class StringExtensions
Represents a series of String extension methods.
Inherited Members
Namespace: TriLibCore.Extensions
Assembly: TriLibCore.dll
Syntax
public static class StringExtensions
Methods
SplitNoAlloc(string, char, string[])
Splits a string without causing memory allocation.
Declaration
public static int SplitNoAlloc(this string value, char separator, string[] buffer)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | String to split. |
| char | separator | Separator character. |
| string[] | buffer | The buffer to store the Strings. |
Returns
| Type | Description |
|---|---|
| int | The number of sub-strings. |