String length to Position

You can use the Justification in the Appearance section of your textfield to make the test align right

35366-justificationtext.png