| View previous topic :: View next topic |
| Author |
Message |
Sergio
Joined: 16 Mar 2008 Posts: 25 Location: Brooklyn
|
Posted: Tue Apr 29, 2008 12:39 am Post subject: Removing Half of the Enter Keys |
|
|
I copy text from PayPal and paste it into MS word. The format looks like this as it is copied:
| Quote: | Ship to this address:
First Last
Street Address
City, State
Country |
However when I paste it, it looks like this:
| Quote: | Ship to this address:
First Last
Street Address
City, State
Country |
When I use the string replace feature
| Code: | | StringReplace, clipboard, clipboard, `r`n, , All |
the address looks like this
| Quote: | | Ship to this address:First LastStreet AddressCity, StateCountry |
How can I get the address to look normal as it is pasted? _________________
 |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 1132
|
Posted: Tue Apr 29, 2008 1:28 am Post subject: |
|
|
| Code: | ~^c::
Sleep 100
StringReplace, clipboard, clipboard, `r`n, `n, all
return |
Give that a try. _________________ My Home Thread
More Common Answers: 1. It's in the FAQ 2. Ternary ( ? : ) guide 3. Post code with [code][/code] tags |
|
| Back to top |
|
 |
Sergio
Joined: 16 Mar 2008 Posts: 25 Location: Brooklyn
|
Posted: Tue Apr 29, 2008 1:38 am Post subject: Bingo! |
|
|
That did the trick. Thanks!  _________________
 |
|
| Back to top |
|
 |
|