strsplit Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
thenasos
Posts: 79
Joined: 10 Nov 2015, 10:00

strsplit

02 Jun 2017, 03:33

StringSlipt works ok, but if it trying strSplit, I get nothing.
What am I doing wrong here?

Code: Select all

ClipboardEdit := StrSplit (Clipboard, A_Space)
	loop, % ClipboardEdit.MaxIndex()
	{
	  entry := ClipboardEdit[A_Index]
	  MsgBox 	% entry 
	}

	MsgBox done 
Shrek is love...
wolf_II
Posts: 2688
Joined: 08 Feb 2015, 20:55

Re: strsplit  Topic is solved

02 Jun 2017, 03:47

Look carefully:

Code: Select all

ClipboardEdit := StrSplit (Clipboard, A_Space) ; <<< your code
ClipboardEdit := StrSplit(Clipboard, A_Space)
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: strsplit

02 Jun 2017, 03:53

StringSlipt works ok, ...
Well, only if your string slipt ! :mrgreen:
User avatar
thenasos
Posts: 79
Joined: 10 Nov 2015, 10:00

Re: strsplit

02 Jun 2017, 03:57

Thanks!
Shrek is love...

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], Theda, w_i_k_i_d and 268 guests