| View previous topic :: View next topic |
| Author |
Message |
DJAnonimo
Joined: 10 Sep 2006 Posts: 146
|
Posted: Mon Mar 31, 2008 11:43 pm Post subject: Loop delimiter.. |
|
|
Hi, again me =)
i got a question about the delimiter in loop parse string
| Code: | | Loop, parse, Colors, `, |
ok, delimiter is "`" in here as single char.
i want an 2 chars delimiter, exactly "||"
just with adding twice | dont work :/
ive tried with Delimiter := "||"
but still the same
Any idea ? |
|
| Back to top |
|
 |
Oberon
Joined: 18 Feb 2008 Posts: 458
|
Posted: Mon Mar 31, 2008 11:48 pm Post subject: |
|
|
| Loop (parse a string) wrote: | | To use a string as a delimiter rather than a character, first use StringReplace to replace all occurrences of the string with a single character that is never used literally in the text... |
|
|
| Back to top |
|
 |
DJAnonimo
Joined: 10 Sep 2006 Posts: 146
|
Posted: Tue Apr 01, 2008 12:02 am Post subject: |
|
|
oh, but i dont want to use a single char, because i dont know which char will never be used.
anyway possible a list of chars that are rare used ? |
|
| Back to top |
|
 |
ladiko
Joined: 14 Jul 2006 Posts: 190 Location: Berlin
|
Posted: Tue Apr 01, 2008 12:35 am Post subject: |
|
|
what about ¸ (very rare used alone) or one of these: ¨ þ ÷ ¤ ¬ ▒ ʡ ₯ ♫ ☺ ۞
take a look at Start --> Run --> charmap |
|
| Back to top |
|
 |
Oberon
Joined: 18 Feb 2008 Posts: 458
|
Posted: Tue Apr 01, 2008 12:39 am Post subject: |
|
|
| Be careful unicode is not allowed, AutoHotkey will simply see them as two or more high-ASCII characters. |
|
| Back to top |
|
 |
DJAnonimo
Joined: 10 Sep 2006 Posts: 146
|
Posted: Tue Apr 01, 2008 1:01 am Post subject: |
|
|
oh, thanks guys  |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 2558 Location: Australia, Qld
|
Posted: Tue Apr 01, 2008 4:55 am Post subject: Re: Loop delimiter.. |
|
|
| DJAnonimo wrote: | | Code: | | Loop, parse, Colors, `, |
ok, delimiter is "`" in here as single char. | FYI, the delimiter in this case is , (comma). ` (back-tick) is AutoHotkey's "escape character" - it marks the comma as literal rather than a delimiter between args. |
|
| Back to top |
|
 |
DJAnonimo
Joined: 10 Sep 2006 Posts: 146
|
Posted: Tue Apr 01, 2008 8:12 am Post subject: |
|
|
Yea. just didnt noticed. thanks anyway  |
|
| Back to top |
|
 |
|