Page 1 of 1

Assigning a variable+text to a variable

Posted: Fri May 29, 2020 12:22 pm
by gerry.odea
I'm trying to assign text and a variable to a variable.
How do you write it so that it works?

<$areaN="("How to Change"+$browsername+"Homepage")">

Any help would be appreciated.

Thanks

Assigning a variable+text to a variable

Posted: Fri May 29, 2020 1:00 pm
by mark
<$areaN=( 'How to Change ' +$browsername+ ' Homepage' )>

Assigning a variable+text to a variable

Posted: Fri May 29, 2020 3:22 pm
by John
A couple of other ways you could do it depending on your needs and what makes most sense to you:

<strfmt "How to Change %s Homepage" $browsername>
<$areaN=$ret>

<sum %s "How to Change " $browsername " Homepage">
<$areaN=$ret>