Modify

Opened 3 years ago

Closed 3 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 Changed 3 years ago by mLipok

  • Description modified (diff)

comment:2 Changed 3 years ago by TicketCleanup

  • Version 3.3.15.4 deleted

Automatic ticket cleanup.

comment:3 Changed 3 years ago by jchd18

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 Changed 3 years ago by Jpm

  • Resolution set to Rejected
  • 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.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.