/ Published in: Objective C

note the odd %1$s syntax. If you only have one substitution, you could just use %s.
Expand |
Embed | Plain Text
// in strings.xml <string name="cannot_play_video">The video %1$s cannot be played.\n%2$s</string> // to use.. <context>.getString(R.string.cannot_play_video), url, msg )
You need to login to post a comment.