TehWhale Posted August 23, 2008 Share Posted August 23, 2008 (edited) So lets say I have this string for example:http://www.epicwar.com/maps/download/5/%28...207.4.w3x\When it comes out, it should be:http://www.epicwar.com/maps/download/5/%289%29Twilight FrozenMaul 7.4.w3xAlso, it would change %28 to "(" and %29 to ")"and would totally returnhttp://www.epicwar.com/maps/download/5/(9)Twilight FrozenMaul 7.4.w3xThanks for your help fellow AutoIt'rs! Edited August 23, 2008 by Alienware Link to comment Share on other sites More sharing options...
martin Posted August 23, 2008 Share Posted August 23, 2008 So lets say I have this string for example:http://www.epicwar.com/maps/download/5/%28...207.4.w3x\When it comes out, it should be:http://www.epicwar.com/maps/download/5/%289%29Twilight FrozenMaul 7.4.w3xAlso, it would change %28 to "(" and %29 to ")"and would totally returnhttp://www.epicwar.com/maps/download/5/(9)Twilight FrozenMaul 7.4.w3xThanks for your help fellow AutoIt'rs!I would expect it is as easy to use StringReplace$Result = StringReplace($string,"%20"," ")$Result = StringReplace($Result,"%28","(")$Result = S... Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
TehWhale Posted August 23, 2008 Author Share Posted August 23, 2008 Hmm, I never thought of it that way, I was reading the: "Disemvowel" topic, where someone had used it, so I thought that would be what I need. But there is multiple copies in this string. So should I use Do/Until there isnt a %20! I will. 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