Merge variable's

Moderator: Moderator Group

Merge variable's

Postby honsbeek » Sun May 19, 2013 11:18 am

Hello,

How do you do the merge three strings/double variable's ore more to a string variable

Exemple

Var 1 : Firstname
Var 2 : Surname

Var 3 : score


What I want is one stringvariable with a the data and more inside.

Hi "Firstname" "Surname" your score is : "score"

Thanks

Mark Honsbeek
Mark Honsbeek
LiveLegends
honsbeek
 
Posts: 34
Joined: Thu Jan 31, 2013 10:00 am
Location: Abcaude, The Netherlands

Re: Merge variable's

Postby Daniel Kaminski » Sun May 19, 2013 2:42 pm

Hi,

I think Nodes are the answer to your problem.

Var Input Nodes combined with Text Nodes to a Var Output Node.

Daniel
--
Daniel Kaminski
Pandoras Box Expert
User avatar
Daniel Kaminski
 
Posts: 1071
Joined: Tue Jul 22, 2008 10:55 am
Location: Herten, Germany

Re: Merge variable's

Postby Dennis Kuypers » Sun May 19, 2013 9:42 pm

Hi Mark,

I you require to do it within a script and wish not to use the node system you can use this workaround:

Create a TextBox and remember its ID. Use WDTextBoxAppend,ID,Value for each part of the string. If you have to add a single space char try WDTextboxAppend,'ID',[h20] . When you are done use VGetTextBoxText to retrieve the value.


Best regards
Dennis
Dennis Kuypers
(former Product Developer, Software)
Dennis Kuypers
coolux Germany
 
Posts: 771
Joined: Thu Jul 05, 2012 12:18 pm


Return to Widget Designer V4.7

Who is online

Users browsing this forum: No registered users and 18 guests