Opened 15 years ago

Closed 15 years ago

#475 closed Bug (Fixed)

StringSplit() does not honor flag 2 when using "" (empty) as delim

Reported by: wraithdu Owned by: Valik
Milestone: Component: AutoIt
Version: Severity: None
Keywords: stringsplit Cc:


StringSplit() is returning the array count in $array[0] when the delimiter is "" (blank), even though flag = 2 is set. Ex -

#include <Array.au3>

$string = "thequickbrownfox"
$array = StringSplit($string, "")
$array = StringSplit($string, "", 2)

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by Valik

  • Milestone set to
  • Owner set to Valik
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in version:

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Valik.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.