Aether Utilities Aether Utilities
Aether Utilities Aether Utilities
DocFX + Singulink = ♥

Search Results for

    Edit this page

    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
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)

    Constructors

    TrimmedString(string)

    Create a new TrimmedString struct from the specified string.
    public TrimmedString(string s)

    Parameters

    s string
    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

    int

    String

    The trimmed string.
    [UsedImplicitly]
    public string String { get; }

    Property Value

    string
    (c) 2024 Ethan Hann. All rights reserved.