dickep Posted November 19, 2007 Share Posted November 19, 2007 (edited) I am purplexed. I need to add strings to strings, aka concantenation of strings. I cannot find out if there is a built in or if I must make my own atoi - itoa = itos function Anyone know this please? Thanks E Edited November 19, 2007 by dickep Link to comment Share on other sites More sharing options...
Nahuel Posted November 19, 2007 Share Posted November 19, 2007 &$String= "string1" & "string2" Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 19, 2007 Moderators Share Posted November 19, 2007 I am purplexed.I need to add strings to strings, aka concantenation of strings. I cannot find out if there is a built in or if I must make my own atoi - itoa = itos functionAnyone know this please?ThanksE$myString = String(Int($sString1) - $nInt) is what your example looks like to me, but Nahuel answered your concatenation question. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
dickep Posted November 19, 2007 Author Share Posted November 19, 2007 $myString = String(Int($sString1) - $nInt) is what your example looks like to me, but Nahuel answered your concatenation question.not sure what this does.If I could ask, is it changing a number to a string? That is what I need to really do, add "String" to x (which changes).Thanks againE Link to comment Share on other sites More sharing options...
Achilles Posted November 19, 2007 Share Posted November 19, 2007 & $String= "string1" & "string2" @dickep: Did you try this? My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
dickep Posted November 19, 2007 Author Share Posted November 19, 2007 @dickep: Did you try this?Yes, and it works. However, I am having a devil of a time remembering the $ before any variable call!! It will drive me crazy.E Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 19, 2007 Moderators Share Posted November 19, 2007 not sure what this does.If I could ask, is it changing a number to a string? That is what I need to really do, add "String" to x (which changes).Thanks againEYou made references to atoi... do you know what that function does? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now