Modify

Opened 5 years ago

Closed 5 years ago

#3837 closed Feature Request (Rejected)

StringFormat() number of replacements performed stored in the @extended macro

Reported by: mLipok Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description (last modified by mLipok)

I was thinking today about how to dermine how many (or if any) replacement was taken.

It is realated to my PR on GitHub:
https://github.com/rcmaehl/WhyNotWin11/pull/403#issuecomment-874104621

I found that:
StringReplace() function set the number of replacements performed stored in the @extended macro.

I was searching for the same feature for StringFormat() with no success.

Please consider to add such feature for StringFormat().

Attachments (0)

Change History (4)

comment:1 by mLipok, 5 years ago

Description: modified (diff)

comment:2 by TicketCleanup, 5 years ago

Version: 3.3.15.4

Automatic ticket cleanup.

comment:3 by jchd18, 5 years ago

I don't see the point: StringFormat formats exactly as many % specifications as the user provides and this is the minimum number of variables passed as arguments after the format.

comment:4 by J-Paul Mesnage, 5 years ago

Resolution: Rejected
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.