StrLadj(str, num_strlen);
str
num_strlen
Left-aligns and truncates (or extends) a string to a specified length. If the specified length is greater than the current string length, the string is extended with spaces.Left-aligned and truncated (or extended) string according to the specified required length. In case of failure, an empty string is returned.$a="Parrot";
$b=strladj($a,10);$b="Parrot "
OpenText StreamServe 5.6.2 | Updated: 2018-01-26 |