DiffPatch

Typefunction
Dictionarylibrary.diff
LibraryUnified Diff Library
Syntax
DiffPatch(<pSource>,<pDiff>)
Associationscom.livecode.library.diff
Summary

Patch a string with a previously computed diff.

Parameters
NameTypeDescription
pSource

The original string

pDiff

The diff representing changes to apply to pSource

Example

Values
NameTypeDescription
return

An updated version of pSource with the changes from pDiff applied.

Description

Apply the diff to the source string, returning an updated string with the diff changes applied.