Funzione
string.StartsWith
Test whether this string starts with given string
Non ancora tradotto
Sintassi
string.StartsWith(other_string)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
other_string
|
string | — | The given string |
Valore restituito
- boolean
Esempi
local str = "awesome text!",local starts = str:StartsWith("awesome")