str.fill...
- method str str.fill( str val, uint count, uint flag )
- method str str.fillspacel( uint len )
- method str str.fillspacer( uint len )
Filling a string. Fill a string to the left or to the right.
method str str.fill (
str val,
uint count,
uint flag
)
str val,
uint count,
uint flag
)
Parameters
val | The string that will be filled. | ||||||
count | The number of additions. | ||||||
flag | Flags.
|
Return value
Returns the object which method has been called.
str.fillspacel
Fill a string with spaces to the left.
method str str.fillspacel (
uint len
)
uint len
)
Parameters
len | Final string size. |
str.fillspacer
Fill a string with spaces to the right.
method str str.fillspacer (
uint len
)
uint len
)
Parameters
len | Final string size. |
Related links | Source |