Results (11 - 20 of 26)
- #2117: Feature Request: Improved _FileCountLines() (closed: Completed)
- ... -1 Then Return SetError(1, 0, 0) Local $sFileContent = StringStripWS(FileRead($hFile), 2) FileClose($hFile) StringRegExpReplace($sFileContent, "\n", "") ; terminated with linefeed terminated If Not @extended Then StringRegExpReplace($sFileContent, "\r", "") ; terminated with carriage retu ...
- 01/29/12 19:47:10 —
- #2020: Feature Request: request: StringLTrim($str) and StringRTrim($str) (closed: Rejected)
- these functions would either strip the left or right whitespace off of a string. VERY VERY useful. standard keyword in basic (ltrim, rtrim).
- 09/26/11 11:26:54 —
- #1996: Bug: _GUICtrlListView_SimpleSort - no sort ItemParam (closed: Fixed)
- ... ### MODIFIED ### $v_item = StringStripWS(_GUICtrlListView_GetItemText($hWnd, $x, $Y), 2) If (StringIsFloat($v_item) Or StringIsInt($v_item)) Then $a_lv[$x][$Y] = Number($v_item) Else $a_lv[$x][$Y] = $v_item EndIf Next $a_lv[$x][$Y] ...
- 08/10/11 16:52:14 —
- #1930: Feature Request: _GUICtrlListView_SimpleSort doesn't sort ItemParam (closed: Rejected)
- ... ### MODIFIED ### $v_item = StringStripWS(_GUICtrlListView_GetItemText($hWnd, $x, $Y), 2) If (StringIsFloat($v_item) Or StringIsInt($v_item)) Then $a_lv[$x][$Y] = Number($v_item) Else $a_lv[$x][$Y] = $v_item EndIf Next $a_lv[$x][$Y] ...
- 05/23/11 11:28:34 —
- #1832: Bug: StringStripCR(): Clips strings at NUL-character. (closed: Rejected)
- ... ConsoleWrite('StringLen(StringStripWS($sString,8)) = ' & StringLen(StringStripWS($sString,8)) & @CRLF) ;; [5], would be [2] if cliped at null-character. }}}
- 11/29/10 21:37:23 —
- #1831: Bug: _FileCountLines does not handles null characters (closed: Fixed)
- ... -1 Then Return SetError(1, 0, 0) Local $sFileContent = StringStripWS(StringReplace(FileRead($hFile), Chr(0), ""), 2) ;****here is the modified line**** FileClose($hFile) msgbox(0, "", $sFileContent) Local $aTmp If StringInStr($sFileContent, @LF) Then $aTmp = StringSplit(StringStripCR ...
- 11/29/10 15:56:47 —
- #1817: Bug: Tidy incorrectly formats an objects parenthesis (closed: Fixed)
- ... Tidy outputs this: {{{ StringStripWS(.Fields("Version" ).Value, 8) }}} When it should be: {{{ StringStripWS(.Fields("Version").Value, 8) }}} The space after the Version string is removed. ''Perhaps I am being too pedantic but it's an inconsistenc ...
- 11/18/10 12:00:37 —
- #1533: Feature Request: FileSaveDialog/FileOpenDialog return selected filter type (closed: Rejected)
- As of now there is no way of telling what filter type was selected. I propose setting that information in the @extended macro. example. {{{ _Filesave() Func _Filesave() Local $sFile, $sType $sFile = FileSaveDialog('Save fil ...
- 03/23/10 15:39:05 —
- #603: Bug: _FileReadToArray() does not return an array if the file contains only ... (closed: Fixed)
- In AutoIt 3.2.13.8 and previous beta versions _FileReadToArray() does not return an array if the file contains only a single line of text. It does return an array in the Production version 3.2.12.1 of AutoIt Test script to demonstrate ...
- 10/07/08 11:47:22 —
- #506: Bug: _FileCountLines (closed: Fixed)
- ... -1 Then Return SetError(1, 0, 0) $sFileContent = StringStripWS(FileRead($hFile, FileGetSize($sFilePath)), 2) FileClose($hFile) If StringInStr($sFileContent, @LF) Then $aTmp = StringSplit(StringStripCR($sFileContent), @LF) ElseIf StringInStr($sFileContent, @CR) Then $aTmp = Str ...
- 08/08/08 12:57:03 —
Note: See TracSearch
for help on searching.