padLeft
padLeft
padLeft(str, width)
Ritorna una stringa di <width> caratteri composta da <str> con a sinistra spazi fino a raggiungere la larghezza data. Tronca la stringa se e' troppo grande.
padLeft('aa', 4) - ritorna "
aa" padLeft('aaa', 2) - ritorna
"aa"
Created with the Personal Edition of HelpNDoc: Why Microsoft Word Isn't Cut Out for Documentation: The Benefits of a Help Authoring Tool