I need a way to force a carriage return in a two or three word name. With Visual Logic, I am feeding text from a one-line text field to another that is broken into two lines.
I have Firstname Lastname from my election database
but need:
Firstname
Lastname
I've tried breaking the two-line version into two text fields, fed text of the one-line to the top field and applied combinations of left string, right string, trim, trim left, trim right, trunc and had no success.
I also searched the forum and found two scripts that seemed to apply.
dim textObject as xpTextObject Scene.GetObjectByName("FirstName", textObject) textObject.Text = Split(Text, " ", 2)(0) &
`Text = Split(Text, " ", 2)(0)`
but I couldn't get either to work.