data_string_diff()
DBI::data_string_diff(string[,length])
This function returns a description of the difference between two given strings. It returns an empty string if the strings given are identical. Here is an example:
... my $diff = DBI->data_string_diff($previous_author, $author); ...
Using the example shown in data_diff()
earlier in this section, but using this function instead, here are the
results of running this program:
(Graham Green, Graham Greene) Strings differ at index 0: a[0]=D, b[0]=G