$nbsp function
Implementation
String $nbsp([int length = 1]) {
if (length == 1) {
return ' ';
} else if (length < 1) {
return '';
}
var s = StringBuffer(' ');
for (var i = 2; i < length; i++) {
s.write(' ');
}
return s.toString();
}