Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Librerie standard

string

Questa libreria fornisce le funzioni generiche per lavorare sulle stringhe: ricerca ed estrazione di sottostringhe e corrispondenza di pattern. In Lua l'indicizzazione di una stringa parte da 1, non da 0 come in C. Gli indici possono essere negativi e in tal caso si contano a ritroso dalla fine: l'ultimo carattere è in posizione -1, e così via.
Mostra l'originale in inglese
This library provides generic functions for string manipulation, such as finding and extracting substrings, and pattern matching. When indexing a string in Lua, the first character is at position 1 (not at 0, as in C). Indices are allowed to be negative and are interpreted as indexing backwards, from the end of the string. Thus, the last character is at position -1, and so on.

19 propri

Funzioni 19