Many times, when generating messages to show to the user, the message will contain a number of something that I want to inform the customer about.
I\'ll give a
How about a more generic way. Avoid pluralization in the second sentence:
Number of selected items to be deleted: noofitemsselected. Are you sure?
I find out that doing it this way puts the number at the end of the line which is really easy to spot. This solution would work with the same logic in any language.