Struct TrimmedString
- Namespace
- AetherUtils.Core.Structs
- Assembly
- AetherUtils.Core.dll
Represents a string that has new line characters (\n) inserted and has been formatted to be a specific length.
This struct contains the string and the number of new line characters added.
public readonly struct TrimmedString
- Inherited Members
Constructors
TrimmedString(string)
Create a new TrimmedString struct from the specified string.
public TrimmedString(string s)
Parameters
sstring- The string to initialize the struct with.
Properties
Lines
The number of new line characters (\n) in the string.
public int Lines { get; }
Property Value
String
The trimmed string.
[UsedImplicitly]
public string String { get; }