La libreria Text fornisce operazioni utili per il trattamento dei testi (stringhe).
![]() |
Strumento | Argomenti | Risultato | Descrizione |
| Append() | “testo” “testo” |
“testo” | Restituisce il testo ottenuto dalla concatenazione dei due testi dati. | |
| ConvertToLowerCase() | “testo” | “testo” | Converte in minuscolo il testo specificato. | |
| ConvertToUpperCase() | “testo” | “testo” | Converte in maiuscolo il testo specificato. | |
| EndsWith() | “testo” “testo” |
True/False | Restituisce True se alla fine del primo testo è presente il secondo testo. | |
| GetCharacter() | code | char | Restituisce il carattere corrispondente al codice Unicode dato. | |
| GetCharacterCode() | char | code | Restituisce il codice corrispondente al carattere Unicode dato. | |
| GetIndexOf() | “testo” “testo” |
numero | Restituisce la posizione del secondo testo all’interno del primo testo. Se il testo non compare, restituisce 0. |
|
| GetLength() | “testo” | numero | Restituisce la lunghezza del testo. | |
| GetSubText() | text start length |
“testo” | Restituisce il testo all’interno di … a partire da … con lunghezza … | |
| IsSubText() | “testo” “testo” |
True/False | Restituisce True se all’interno del primo testo è presente il secondo testo. | |
| StartsWith() | “testo” “testo” |
True/False | Restituisce True se all’inizio del primo testo è presente il secondo testo. |
