Funzione
Nativa
string.match
Looks for the first match of <code>pattern</code> in the string.
Non ancora tradotto
Sintassi
string.match(string, pattern, startPosition)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
string
|
string | — | String which should be searched in for matches. |
pattern
|
string | — | The pattern that defines what should be matched. |
startPosition
|
number | — | The start index to start the matching from, can be negative to start the match from a position relative to the end. |
Valore restituito
- number