FillA DataWindow expression function
Description
Builds a string of the specified length in bytes by repeating
the specified characters until the result string is long enough.
Syntax
1 |
<span>FillA</span> ( <span>chars</span>, <span>n</span> ) |
Argument |
Description |
---|---|
chars |
A string whose value will be repeated |
n |
A long whose value is the number of bytes |
Return Values
String. Returns a string n bytes long
filled with repetitions of the characters in the argument chars.
If the argument chars has more than n bytes,
the first n bytes of chars are
used to fill the return string. If the argument chars has
fewer than n bytes, the characters in chars are
repeated until the return string has n bytes.
Usage
FillA replaces the functionality that Fill had
in DBCS environments in PowerBuilder 9. In SBCS environments, Fill and FillA return
the same results.
See Also
-
FillA in the PowerScript Reference