Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Remove \ escape reminder

...

The sprintf() operator can be applied to either a number or a string. The operator takes a formatting string as its sole argument. Use \%s to escape a literal %s and \\ to escape a literal \:

Code Block
languagejavascript
themeConfluence
a = "Hello world!"
b = a.sprintf("<%s \%s>") // b = "<Hello world! %s>"

...