Sign in to follow this  
Followers 0
Guest weirdwes

Combine strings?

2 posts in this topic

This is what I want to do and I am not sure how to go about it.

$firstname = "Agent"

$lastname = "J"

$fullname = $firstname + $lastname

msgbox(0,"your name is",$fullname)

Any help would be greatly appreciated.

Share this post


Link to post
Share on other sites



I would probly use:

$fullname = $firstname & " " & $lastname

I like to see:

$First="Bob"

$Last="Smith"

$Fullname="Bob Smith"

instead of:

$Fullname="BobSmith"

or

$fullname = $lastname & ", " & $firstname

$Fullname="Smith, Bob"


AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0