Jump to content
YOUR-AD-HERE
HOSTING
TOOLS
992Proxy

Locked Return a Padded String with Blanks on Right


Kaway

Recommended Posts

[HIDE-THANKS]This function takes a string and a number as a parameter. The number represents the total length of the string to be returned, with spaces added to the right if the number is greater then the length of the passed string. If the passed length value is less than the length of the passed string, the return value will be a truncated string.

Example: PadR("Test", 6) returns:

 

 

This is the hidden content, please

[/HIDE-THANKS]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.