Syntax-problem (Basic stuff)

Hey,

I have a String-var named navC that is either set to “work”, “about” or “contact”. I have three different String vars: workText, aboutText and contactText containing some text…

Depending on the value of navC I want the text field textbox_txt to show workText, aboutText or contactText. So I want to set textbox_txt to navC+Text…

I can’t figure out the syntax for this and keep getting outputs like ‘workText’ etc. when in fact I want the output to be whatever is in the variable workText etc.

Thanks in advance!

/Martin