String Padding in 5.0.0.50

FB5 5.0.0.50, String Padding action.

I pass it a 10 character variable:
1234567890

I set the String Padding action to append !'s to get the lengh up to 11 characters, so I’d expect to get back:
1234567890!

However, the action makes no changes to the value.

When I set the pad length to 12 though, I return the expected value for 11 characters:
1234567890!

Is it me, or is it not behaving quite right?


Hi Eric,

Yes, this is a bug. Thanks for reporting it. I’ve just checked in a fix for the next test build (will let you know.)

Regards,


Angus

Hi Eric,

A test build now available with fixed string padding. You can now pad to your heart’s content!

https://www.finalbuilder.com/downloads/finalbuilder/500/FB500_52.exe

Please let us know how you go.

Regards,


Angus