Len - fonction de script et fonction de graphique
Len() renvoie la longueur de la chaîne d'entrée.
Len(text)
entier
| Exemple | Résultat |
|---|---|
| Len('Peter') | Renvoie 5. |
T1:
Load String, First&Second as NewString;
Load *, mid(String,len(First)+1) as Second;
Load *, upper(left(String,1)) as First;
Load * inline [
String
this is a sample text string
capitalize first letter only ];
Résultat
| Chaîne | NewString |
|---|---|
| this is a sample text string | This is a sample text string |
| capitalize first letter only | Capitalize first letter only |