LPAD (left pad) and RPAD (right pad) are functions used to add padding characters to the left or right side of a string up to a given length. The functions are used as follows:
lpad(text, pad_char, length) rpad(text, pad_char, length)
Changed scripts to allow an integer to be passed in as the text value.
Version 1.1.0. Published July 10, 2014
Created with GameMaker: Studio v1.99.170
This asset hasn't received enough reviews yet.
You can only review assets you've bought.
Fix your bug man
This function worked once I fixed the bug where the parameters in the lpad function for the length and pad characters were reversed. Time saving by downloading function instead of writing my own. Zero.