Sign in to follow this  
Followers 0
saywell

_Stringsplit

4 posts in this topic

The latest version of AutoIT doesn't have _StringSplit in string.au3, and this throws up error messages.

What is the difference between this and the mainstream StringSplit (without the underscore)?

Should I just copy the relevant function from the old file into my program?

William

Share this post


Link to post
Share on other sites



24th December, 2008 - v3.3.0.0

AutoIt: Added: New flag for StringSplit() to not return the count in element 0.

UDFs: Removed: _StringSplit, no longer needed

Looks like StringSplit was possibly made to work like _StringSplit so check the parameters your giving and you might just have remove the _ from your function calls.


GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF.

Share this post


Link to post
Share on other sites

3.2.13.1 (10th June, 2008) (Beta)

AutoIt:

- Added: New flag for StringSplit() to not return the count in element 0.

- Fixed #358: Install dir documentation cleaned up (thanks Zedna).

- Fixed #355: Child not visible beta regression. (Thanks Ultima)

- Fixed #366: AutoIt crash on bad syntax.

- Fixed #360: RunAs() under Windows 2000.

- Fixed #367: STDIO functions in compiled scripts work again.

- Removed #357: @AutoItUnicode macro.

UDFs:

- Added: _GUICtrlTab_ClickTab (Gary)

- Fixed #361, #362: _GUICtrlListView_InsertItem doc (Zedna)

- Removed: _StringSplit, no longer needed

- Added: _GUICtrlComboBoxEx_GetUnicode, _GUICtrlComboBoxEx_SetUnicode (Gary)


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Thanks.

I've compared the old stringsplit, new stringsplit and _stringsplit helpfile entries.

The _stringsplit uses a zero-based array but the old stringsplit had array[0] as the count.

It's easy to change the new stringsplit to match the old _stringsplit by using flag 2 ( ---> zero-based array).

Or just increment all the [n] numbers by one. Guess which is easier!

Regards,

William

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0