I’m trying to figure how to append some parameters to a localized string?
The desired result (in a string) is “TITLE-xxxx ddmmyy”.
TITLE is to be localized.
xxxx is a calculated number and ddmmyy is a fixed date format.
Thanks for any help!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Given
TITLE,myDateFormatterwhich is aNSDateFormatterandnumber, which is an int:Of course you can change
numberto an NSNumber or something if you wish so (change %d to %@ then).