/ 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
Copy this code and paste it in your HTML
// 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 )