eBiss 3

Hilfe & Dokumentation

User Tools

Site Tools


en:transformation:mappings:funktionen:string:padstring

Table of Contents

PadString

The function PadString() is passed a string, the number of characters and the characters themselves as parameters and returns the string filled with the characters up to the specified number. Furthermore, a direction can also be specified from which the filling is to be carried out.

Syntax:

PadString('String, 'Anzahl')

If no fill character is specified here, the space is used.

PadString('String', 'Anzahl', 'links oder rechts', 'Füllzeichen')

Samples:

PadString('hello', 20)

returns '                hallo'

PadString('hello', 20, 'r', '#')

returns 'hello###############'

en/transformation/mappings/funktionen/string/padstring.txt · Last modified: 2024/02/20 08:15 by 127.0.0.1