Modify

Opened 18 years ago

Closed 18 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 by Valik, 18 years ago

Milestone: 3.2.13.6
Owner: set to Valik
Resolution: Fixed
Status: newclosed

Fixed in version: 3.2.13.6

Modify Ticket

Action
as closed The owner will remain Valik.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.