Assigning a variable+text to a variable

Post Reply
gerry.odea
Posts: 96
Joined: Fri Sep 19, 2008 9:33 am

Assigning a variable+text to a variable

Post 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
User avatar
mark
Site Admin
Posts: 5495
Joined: Tue Apr 25, 2000 6:56 pm

Assigning a variable+text to a variable

Post by mark »

<$areaN=( 'How to Change ' +$browsername+ ' Homepage' )>
User avatar
John
Site Admin
Posts: 2580
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Assigning a variable+text to a variable

Post 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>
John Turnbull
Thunderstone Software
Post Reply