Method
public FastString PadRight(int count, char paddingChar = ' ')
|
Parameters
count
|
int
|
Amount of characters to pad with
|
paddingChar
|
char
|
Character to pad with
|
Returns
FastString
The same instance of FastStringDescriptionPad string with paddingChar on the right side. Example FastString fstr = new FastString(256);
void Update() { fstr.Set("500"); Debug.Log(fstr.PadRight(4));
fstr.Set("500"); Debug.Log(fstr.PadRight(4, '.')); } |
|