• 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

15 Memory files
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog C-library
        • Memory files
          • new_memory_file/1
          • free_memory_file/1
          • open_memory_file/3
          • open_memory_file/4
          • size_memory_file/2
          • size_memory_file/3
          • atom_to_memory_file/2
          • insert_memory_file/3
          • delete_memory_file/3
          • memory_file_to_atom/2
          • memory_file_to_atom/3
          • memory_file_to_codes/2
          • memory_file_to_codes/3
          • memory_file_to_string/2
          • memory_file_to_string/3
          • memory_file_substring/5
          • memory_file_line_position/4
Availability::- use_module(library(memfile)).(can be autoloaded)
memory_file_substring(+Handle, ?Before, ?Length, ?After, -SubString)
SubString is a substring of the memory file. There are Before characters in the memory file before SubString, SubString contains Length character and is followed by After characters in the memory file. The signature is the same as sub_string/5 and sub_atom/5, but currently at least two of the 3 position arguments must be specified. Future versions might implement the full functionality of sub_string/5.
ClioPatria (version V3.1.1-51-ga0b30a5)