Skip to content

llFindNotecardTextCount

function ll.FindNotecardTextCount(NotecardName: string, Pattern: string, Options: {any}): string

Searches the text of a cached notecard for lines containing the given pattern and returns the

number of matches found through a dataserver event.

Parameters
NotecardName (string)
Pattern (string)
Regex pattern to find in the notecard text.
Options ({any})
A list of options to control the search. Included for future expansion, should be []

Add example usage here showing SLua/Luau syntax with ll.FindNotecardTextCount().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.