Modify

Opened 16 years ago

Closed 16 years ago

#475 closed Bug (Fixed)

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

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

Description

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, "")
_ArrayDisplay($array)
$array = StringSplit($string, "", 2)
_ArrayDisplay($array)

Attachments (0)

Change History (1)

comment:1 Changed 16 years ago by Valik

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

Fixed in version: 3.2.13.6

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

Action
as closed The owner will remain Valik.
Author


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

 
Note: See TracTickets for help on using tickets.