You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -52,14 +52,14 @@ var lpad = require( '@stdlib/string-left-pad' );
52
52
53
53
#### lpad( str, len\[, pad] )
54
54
55
-
Left pads a `string` such that the padded `string` has a `length` of **at least**`len`.
55
+
Left pads a string such that the padded string has a length of **at least**`len`.
56
56
57
57
```javascript
58
58
var str =lpad( 'a', 5 );
59
59
// returns ' a'
60
60
```
61
61
62
-
By default, an input `string` is padded with `spaces`. To pad with a different character or sequence of characters, provide a `pad` string.
62
+
By default, an input string is padded with a Unicode "space" character (U+0020). To pad with a different character or sequence of characters, provide a `pad` string.
- An output `string` is **not** guaranteed to have a length of **exactly**`len`, but to have a `length` of **at least**`len`. To generate a padded `string` having a `length` equal to `len`
80
+
- An output string is **not** guaranteed to have a length of **exactly**`len`, but to have a length of **at least**`len`. To generate a padded string having a length equal to `len`
0 commit comments