sandman Posted June 2, 2007 Share Posted June 2, 2007 I am using StringInsert() to put a variable at the end of a string. Here is what I am using as a test for it:#include <String.au3> $string = "hello..." MsgBox(0, "", _StringInsert($string, "!!!!", -1))But the messagebox shows 'hello..!!!!.' I want to insert it at the end, I have already tried -0 for the position, and that just puts it at the front. How could I do this? Thanks, SANDMAN! [center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center] Link to comment Share on other sites More sharing options...
sandman Posted June 2, 2007 Author Share Posted June 2, 2007 (edited) Oh, I'm stupid.. this will work:$string = "hello..." & "!!!!" silly me.. Edited June 2, 2007 by sandman [center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center] Link to comment Share on other sites More sharing options...
Kip Posted June 2, 2007 Share Posted June 2, 2007 ghehe MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
Phobos Posted October 22, 2008 Share Posted October 22, 2008 Thank you for the hint with the & sign. I used + all the time.. 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