Class ReadOnlySeStringExtensions
Extension methods for Lumina.Text.ReadOnly.ReadOnlySeString.
Assembly: Dalamud.dll
Declaration
public static class ReadOnlySeStringExtensions
Methods
IsTextOnly(ReadOnlySeString)
Determines whether the string is plain text, without any macros.
Declaration
public static bool IsTextOnly(this ReadOnlySeString input)
Returns
System.Boolean: true if the string contains only plain text, false otherwise.
Parameters
| Type | Name | Description |
|---|---|---|
Lumina.Text.ReadOnly.ReadOnlySeString | input | The string to check. |
ContainsText(ReadOnlySeString, ReadOnlySpan<byte>)
Determines whether the string contains the specified plain text.
Declaration
public static bool ContainsText(this ReadOnlySeString input, ReadOnlySpan<byte> needle)
Returns
System.Boolean: true if the text is found, false otherwise.
Parameters
| Type | Name | Description |
|---|---|---|
Lumina.Text.ReadOnly.ReadOnlySeString | input | The string to search. |
System.ReadOnlySpan<System.Byte> | needle | The text to find. |
ContainsText(ReadOnlySeString, ReadOnlySpan<char>)
Determines whether the string contains the specified plain text.
Declaration
public static bool ContainsText(this ReadOnlySeString input, ReadOnlySpan<char> needle)
Returns
System.Boolean: true if the text is found, false otherwise.
Parameters
| Type | Name | Description |
|---|---|---|
Lumina.Text.ReadOnly.ReadOnlySeString | input | The string to search. |
System.ReadOnlySpan<System.Char> | needle | The text to find. |