Page 1 of 1

StrSplit() improvement

Posted: 12 Sep 2017, 18:37
by eagerahk
As the discussion in Splitting Strings of Ask For Help, https://autohotkey.com/boards/viewtopic ... 96#p170196, StrSplit() does not work as expected. I wish StrSplit() can achieve what PARSE does in IBM's REXX https://www.ibm.com/support/knowledgece ... simtem.htm. PARSE command is so powerful that is extremely easy to use without needing Regular Expression.

Re: StrSplit() improvement

Posted: 12 Sep 2017, 22:50
by jeeswg
I've since posted some attempts at recreating the functionality at the same thread:
Splitting Strings - AutoHotkey Community
https://autohotkey.com/boards/viewtopic ... 29#p170229

Re: StrSplit() improvement

Posted: 13 Sep 2017, 12:33
by Helgef
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.

Re: StrSplit() improvement

Posted: 13 Sep 2017, 12:48
by nnnik
Those are 2 completely different things

Re: StrSplit() improvement  Topic is solved

Posted: 14 Sep 2017, 20:14
by eagerahk
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!