Modify

Opened 11 years ago

Closed 11 years ago

#3057 closed Bug (Fixed)

StringSplit() Return Value

Reported by: c.haslam Owned by: J-Paul Mesnage
Milestone: 3.3.13.21 Component: Documentation
Version: 3.3.13.20 Severity: None
Keywords: Cc:

Description

Existing:

If no delimiters were found then the @error flag is set to 1, count is equal to 1 ($aArray[0]) and the full string is returned ($aArray[1]).

This assumes that the caller does not have $STR_NOCOUNT (2) in his flag argument.

Suggested:

If no delimiters are found then @error is set to 1, and:

  • if the $STR_NOCOUNT flag is present, 1 is returned in the first element ($aArray[0]) and the full string is returned in the second element ($aArray[1])
  • if the $STR_NOCOUNT flag is not present, the full string is returned in the first element ($aArray[0]).

Attachments (0)

Change History (1)

comment:1 by J-Paul Mesnage, 11 years ago

Milestone: 3.3.13.21
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed by revision [11330] in version: 3.3.13.21

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


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