Issue Bug Closed

#51650String paddings with 0 are not possible in strPad

Lars Malach 09/02/13, 15:24 updated 10/02/18, 12:10

Description

“padWidth = 0” gets ignored. Instead of “0” the default value “ “ (space character) gets displayed as padding width.

Example-Code:

10 = TEXT
10.value = TYPO3 - inspiring people to share.
10.strPad {
  length = 37
  padWith = 0
  type = both
}

Current: “ TYPO3 – inspirier people to share. “
How it should be: “0TYPO3 – inspirier people to share.00”

Reviews 3