Android Question Fixed length variables

peggjones

Active Member
Licensed User
Longtime User
Is it possible to have a fixed length variable?

Say for example I could fix a length to 5

I would like the following to happen.

if A was in the variable contents would be A + 4 blanks
if AA was in the variable contents would be AA + 3 blanks
if AAA was in the variable contents would be AAA + 2 blanks

Thanks.
 
Top