StrSplit() improvement

Propose new features and changes
eagerahk
Posts: 60
Joined: 02 Dec 2015, 06:27

StrSplit() improvement

12 Sep 2017, 18:37

As the discussion in Splitting Strings of Ask For Help, https://autohotkey.com/boards/viewtopic.php?f=5&t=36969&p=170196#p170196, StrSplit() does not work as expected. I wish StrSplit() can achieve what PARSE does in IBM's REXX https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ikja300/simtem.htm. PARSE command is so powerful that is extremely easy to use without needing Regular Expression.
User avatar
jeeswg
Posts: 2646
Joined: 19 Dec 2016, 01:58
Location: UK

Re: StrSplit() improvement

12 Sep 2017, 22:50

I've since posted some attempts at recreating the functionality at the same thread:
Splitting Strings - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=36969&p=170229#p170229
Helgef
Posts: 2396
Joined: 17 Jul 2016, 01:02
Contact:

Re: StrSplit() improvement

13 Sep 2017, 12:33

At a glance, this just looks like a variant of ahk's loop parse, ... I don't see how it would be used to improve strsplit. It migth be a nice addition with a separate PARSE command instead. :thumbup:

Cheers.
User avatar
nnnik
Posts: 2275
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: StrSplit() improvement

13 Sep 2017, 12:48

Those are 2 completely different things
Recommends AHK Studio
eagerahk
Posts: 60
Joined: 02 Dec 2015, 06:27

Re: StrSplit() improvement

14 Sep 2017, 20:14

jeeswg wrote
I've since posted some attempts at recreating the functionality at the same thread:

Helgef wrote
At a glance, this just looks like a variant of ahk's loop parse, ... I don't see how it would be used to improve strsplit

nnnik
Those are 2 completely different things


I agree with all of the above, so allow me to withdraw this idea from the Wish List :). Thanks to jeeswg's effort of recreating the functionality!

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 1 guest