Custom Query
Results (124 - 126 of 3866)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#858 | No Bug | Source code small change of StringSplit( ) | txj | |
Description |
Hi ! I found a small shortage, in StringSplit( ), when last character of string is delimiter, last element of return array is null string. demo code like this: #include <array.au3> $aReturn = StringSplit("c:\dir1\dir2\", "\") _ArrayDisplay($aReturn,"$aReturn[ ] value") ; display array If $aReturn[$aReturn[0]] = "" Then MsgBox(0, "value", "last element of $aReturn[ ] is null string.") run this code, you can see the last element of return array $aReturn is null string. maybe change source code of StringSplit( ) to substract the last element is more better. this shortage exists in AutoIT 3.2.12.1, 3.3.0.0. |
|||
#859 | No Bug | Source code small change of UDF _StringExplode( ) | txj | |
Description |
Hi ! I found a small shortage, in UDF _StringExplode( ), when last character of string is delimiter, last element of return array is null string. demo code like this: #include <array.au3> #include <string.au3> $aReturn = _StringExplode("c:\dir1\dir2\", "\") _ArrayDisplay($aReturn,"$aReturn[ ] value") ; display array If $aReturn[3] = "" Then MsgBox(0, "value", "last element of $aReturn[ ] is null string.") run this code, you can see the last element of return array $aReturn is null string. maybe change source code of UDF _StringExplode( ) to substract the last element is more better. this shortage exists in AutoIT 3.3.0.0. |
|||
#866 | Rejected | new function FileGetDir( ) | txj | |
Description |
Hi !
FileGetDir( "C:") ; get current directory of drive C: FileGetDir( "D:") ; get current directory of drive D: FileGetDir( "E:") ; get current directory of drive E: |