StrPad

>Psychtoolbox>PsychOneliners

str = StrPad(in,length,padchar)
(pre)pads IN with CHAR to sepcified length LEN. If inputs IN or PADCHAR
are numerical, they will be converted to to string. If input is too long,
it is truncated from the start to specified length.

DN 2007

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychOneliners/StrPad.m