exodius Posted June 5, 2008 Share Posted June 5, 2008 I'm running production ver. 3.2.12.0..Is there a reason that I'm just not grasping as to why there's both a StringSplit()[built-in function] and a _StringSplit() [uDF Function] that both do essentially the same thing? Link to comment Share on other sites More sharing options...
weaponx Posted June 5, 2008 Share Posted June 5, 2008 Thats a good question... _StringSplit() actually has a call to the builtin StringSplit() so it must just be a frontend to workaround some very specific issue. Link to comment Share on other sites More sharing options...
Siao Posted June 5, 2008 Share Posted June 5, 2008 Which is documented. "be smart, drink your wine" Link to comment Share on other sites More sharing options...
exodius Posted June 5, 2008 Author Share Posted June 5, 2008 Where's that documented? (I'm just curious) Link to comment Share on other sites More sharing options...
nugame Posted April 17, 2009 Share Posted April 17, 2009 Where's that documented? (I'm just curious)The _StringSplit is in the Array2D.au3 UDF. There must be a doc and something to show its use. I am curious also. Dr SherlockAlways a way Link to comment Share on other sites More sharing options...
ProgAndy Posted April 17, 2009 Share Posted April 17, 2009 (edited) In previous AutoIt-Versions, StringSplit returned a Counter in Array[0]. _StringSplit was designed to remove it. In 3.3.0.0, there is a Parameter for StringSplit to remove the counter, so you don't need _StringSplit anymore. (use StringSplit with Flag 2 instead ( or, if you want to use flag 1, too: Flag is 1+2 = 3) //Edit: This thread is really old. Edited April 17, 2009 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
nugame Posted April 17, 2009 Share Posted April 17, 2009 In previous AutoIt-Versions, StringSplit returned a Counter in Array[0]. _StringSplit was designed to remove it. In 3.3.0.0, there is a Parameter for StringSplit to remove the counter, so you don't need _StringSplit anymore. (use StringSplit with Flag 2 instead ( or, if you want to use flag 1, too: Flag is 1+2 = 3) //Edit: This thread is really old.OK and will use. so I should not use the array2d.au3 since it had the _StringSplit? is there a updated version of array2d.aue? I know there is the standard array udf. Thanks one more time. Dr SherlockAlways a way Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now