Text Wrap Won't Work When String Changed

Hi guys,
I've got an actor set up to display a string attribute with a centre-aligned wrap. When I enter the string by manually altering the attribute from the editor it works fine, e.g;
This is an
example of
a sentence.
When I alter the string, however, using change attribute and an expression, e.g. "This is an example of a sentence" it displays like this;
This is an ex
ample of a s
entence.
Now, I've heard of line breaks and spaces but I did't realise we had to enter WORD breaks in GS! Any ideas where I'm going wrong, or is this just a bug? Any workaround ideas, as you can't place line breaks directly in a string either.
Note; examples are right-aligned because of the forum.
I've got an actor set up to display a string attribute with a centre-aligned wrap. When I enter the string by manually altering the attribute from the editor it works fine, e.g;
This is an
example of
a sentence.
When I alter the string, however, using change attribute and an expression, e.g. "This is an example of a sentence" it displays like this;
This is an ex
ample of a s
entence.
Now, I've heard of line breaks and spaces but I did't realise we had to enter WORD breaks in GS! Any ideas where I'm going wrong, or is this just a bug? Any workaround ideas, as you can't place line breaks directly in a string either.
Note; examples are right-aligned because of the forum.
Comments
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps