• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

4.32.1 Writef
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Formatted Write
          • Writef
            • writef/1
            • writef/2
            • swritef/3
            • swritef/2
    • Packages
Availability::- use_module(library(writef)).(can be autoloaded)
Source[deprecated]swritef(-String, +Format, +Arguments)
Equivalent to writef/2, but “writes” the result on String instead of the current output stream. Example:
?- swritef(S, '%15L%w', ['Hello', 'World']).

S = "Hello          World"
ClioPatria (version V3.1.1-51-ga0b30a5)