Skip to main content
Version: 15.x (API 15) [Legacy]

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
TypeNameDescription
Lumina.Text.ReadOnly.ReadOnlySeStringSpaninputThe 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
TypeNameDescription
Lumina.Text.ReadOnly.ReadOnlySeStringSpaninputThe string to search.
System.ReadOnlySpan<System.Byte>needleThe 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
TypeNameDescription
Lumina.Text.ReadOnly.ReadOnlySeStringSpaninputThe string to search.
System.ReadOnlySpan<System.Char>needleThe text to find.