﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1571	StringSplit - Add CaseSense parameter	MrCreatoR <mscreator@…>	Jpm	"This feature request is related to [http://www.autoitscript.com/trac/autoit/ticket/121 ticket #121].

To avoid a problems with splitting strings by delimiter that might have unknown letters case, the function should recieve an optional parameter $iCaseSense...

{{{
StringSplit(string, delimiters [, flags [, casesense]]])
}}}

and by default i think it should be '''not''' case sensitive, althought it will break the backward compatibility.

Example of this behaviour:

{{{
#include <Array.au3>

$aSplit = StringSplit(""caBca"", ""abc"", 1) ;Should split into 2 elements: [1] = c, [2] = a
_ArrayDisplay($aSplit)

$aSplit = StringSplit(""abCde"", ""c"", 1) ;Should split into 2 elements: [1] = ab, [2] = de
_ArrayDisplay($aSplit)

$aSplit = StringSplit(""caBca"", ""aBc"", 1) ;This one splits correctly, because aBc mathes the letters case: [1] = c, [2] = a
_ArrayDisplay($aSplit)
}}}

'''P.S'''
If this parameter will not be added, then at least the docs should be updated with the info about the fact that StringSplit is case sensitive, and i mean more than just «(case sensitive)» in the parameter description, it is hard to notice this info."	Feature Request	closed		AutoIt		None	Rejected	String, Split, Case, Sensitive	
