Skip to main content
Skip table of contents

Stringfunctions+ | Formel STRPAD

Beschreibung

Diese Formel erweitert einen String unter Verwendung eines anderen Strings auf eine bestimmte Länge.

Formel(n)

PHP
{=STRPAD("Input";Länge;"String";Typ)}

Ergebnis

  • String

Parameter

Parameter
Inhalt
Format
Standardwert
Erklärung

Input

Quell-String

String

 

 

Länge

Gewünschte Länge des Ergebnis-Strings

Integer

 

 

String

String, der für die Kürzung des Quell-Strings verwendet werden soll

String

" "

 

Typ

Kürzungsoption (rechts, links, beide)

Integer

 

Mögliche Werte:

  • PADTYPERIGHT

  • PADTYPELEFT

  • PADTYPEBOTH

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.