Modify ↓
Opened 11 years ago
Closed 11 years ago
#3079 closed Bug (Fixed)
_StringInsert(): add Remark for clarity
| Reported by: | c.haslam | Owned by: | guinness |
|---|---|---|---|
| Milestone: | 3.3.15.1 | Component: | Documentation |
| Version: | 3.3.15.0 | Severity: | None |
| Keywords: | Cc: |
Description
As the help is now, it is not clear whether the string is inserted before or after $iPosition.
I suggest adding a Remark:
Inserts the string after $iPosition characters of $sString. For $iPositon < 0, inserts it before -$iPosition characters from the end of $sString.
This is, to me, a bit strange, but this is the way it is!
I have checked the code, and run a simple example:
#include <String.au3> Local $t='CatSukie' MsgBox(0,'',_StringInsert($t,'Jack',3)) MsgBox(0,'',_StringInsert($t,'Jack',-5))
Attachments (0)
Change History (1)
comment:1 by , 11 years ago
| Milestone: | → 3.3.15.1 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Fixed by revision [11419] in version: 3.3.15.1