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