AutoHotkey Community

It is currently May 26th, 2012, 3:26 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: June 24th, 2005, 5:47 pm 
Offline

Joined: April 17th, 2005, 7:47 pm
Posts: 289
Location: Sauerland
From AWK I know the ability of putting all words of a string in an array interpreting consecutive spaces as one separator. In AutoHotkey you have to add code for this behaviour. see here.

My suggestion is to add a parameter or switch to parsing functions like StringSplit and loop, parse that reduces multiple separators to one separator.

I use this amongst others to extract #defines of C-header files (to automize conditional compilation) where the positions of the values/words are not necessarily fix.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 25th, 2005, 2:07 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Thanks for the idea. I'll put it with some other planned improvements for StringSplit and parsing loop.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group