Changing TEXT (text value) within 3D text

How in the mother of God, can text value in 3D Text, be changed IN JAVASCRIPT?

Now, my code is this;

GetComponent.().text = "TRALALA"

Now, this works! Excellent, even! It will transform text value, whatever it was to "TRALALA". But, there is one small, tiny problem. How, but HOW, can i put "space" between words?


GetComponent.().text = "I am riding a bicycle." ofc it won't work. Is there a special symbol for spacing, or what should I do?

That should work fine

GetComponent.<TextMesh>().text = "I want to ride my bicycle";

works perfectly well for me in javascript

Maybe the spacing in the font you are using is pretty thin? Try another font or play with the font settings.