xsharp.eu • PADC()
Page 1 of 1

PADC()

Posted: Tue Mar 10, 2020 8:10 pm
by kevclark64
PADC seems to have a bug which shows up if the padding character is something other than a space. For example:

Code: Select all

LOCAL lcString as String
lcString="hello"
? PADC(lcString,10,"=")
The above lines should print "==hello===" but they actually print " hello==="

PADC()

Posted: Tue Mar 10, 2020 9:17 pm
by Chris
Thanks Kevin, problem confirmed and should be fixed in the next build.