Modify ↓
Opened 9 years ago
Closed 9 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 Changed 9 years ago by guinness
- Milestone set to 3.3.15.1
- Owner set to guinness
- Resolution set to Fixed
- Status changed from new to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Note: See
TracTickets for help on using
tickets.
Fixed by revision [11419] in version: 3.3.15.1