playMaker

Author Topic: Player enters name issue  (Read 1077 times)

knoxxville

  • Playmaker Newbie
  • *
  • Posts: 4
Player enters name issue
« on: December 10, 2016, 08:19:18 AM »
Hello all,

How would I, for example, go about taking a text field storing it into a String (as you do), and then having it fit nicely into the rest of the text? For instance:

Let's say that the Player's name is: Simon

The text needs now to take this name and display:

"Hello Simon! Have a good day!"

But in reality, this happens:

"Hello Simon               ! Have a good day!"

I basically need the name to fit within the rest of the text, with exclamations e.t.c playing nicely with the user String. The character limit spacing needs to go!