xdiff_string_diff Make unified diff of two strings &reftitle.description; stringxdiff_string_diff stringstr1 stringstr2 intcontext boolminimal Makes a unified diff of two strings. &reftitle.parameters; str1 First string with data. str2 Second string with data. context Indicates how many lines of context you want to include in the diff result. minimal Set this parameter to &true; if you want to minimalize the size of the result (can take a long time). &reftitle.returnvalues; Returns string with resulting diff or &false; if an internal error happened. &reftitle.examples; <function>xdiff_string_diff</function> example The following code makes unified diff of two articles. ]]> &reftitle.notes; This function doesn't work well with binary strings. To make diff of binary strings use xdiff_string_diff_binary. &reftitle.seealso; xdiff_file_diff