Did you know ... Search Documentation:
Pack onepointfour_basics -- prolog/stringy_overwrite.pl
PublicShow source

Homepage for this code

https://github.com/dtonhofer/prolog_code/blob/main/unpacked/onepointfour_basics/README_stringy_overwrite.md

History

  1. 2020-07-XX: First version
  2. 2021-01-19: Review
  3. 2021-01-29: Changes in naming, review overwrite_intro_assertions/7
  4. 2021-05-27: Review
  5. 2021-06-06: Another review to use the (now completed) "checks"
  6. 2021-06-12: All test cases pass
  7. 2021-06-13: Code rearranged
 stringy_overwrite(+BgText, +FgText, +FgPos, ?Result, +ResultType)
As overwrite/7, but cuts on both ends by default.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

 stringy_overwrite(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7)
 stringy_overwrite_using_chars(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7)
 stringy_overwrite_using_runs(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7)