EnglishРусский  
The project is closed! You can look at a new scripting language. It is available on GitHub.
Also, try our open source cross-platform automation software.

Ads

Installer and installation software
Commercial and Freeware installers.

str.fill...

Filling a string. Fill a string to the left or to the right.

method str str.fill (
   str val,
   uint count,
   uint flag
)

Parameters

val The string that will be filled.
count The number of additions.
flag Flags.
$FILL_LEFTFilling on the left side.
$FILL_LENThe count parameter contains the final string size.
$FILL_CUTCut if longer than the final size. Used together with FILL_LEN.

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
)

Parameters

len Final string size.

str.fillspacer

Fill a string with spaces to the right.

method str str.fillspacer (
   uint len
)

Parameters

len Final string size.

Related links

Source