Re: Get difference between strings.
| From: | Jason Wong | Date: | Sun, 23 Jun 2002 04:58:01 +0000 |
| Subject: | Re: Get difference between strings. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103444@lists.php.net to get a copy of this message | ||
On Sunday 23 June 2002 07:05, David Duong wrote:
> How would I get the difference between strings?
>
> Example:
> ViewCVS can browse directories, change logs, and revisions of files. It can
> display diffs between versions and show selections of files based on tags
> or branches...
>
> This was word for word from sourceforge project ViewCVS, however ViewCVS
> was written in Python.
Obviously someone had to write that program, in Python, to be able to do that.
> Is their a way for PHP to Display the 'diffs' between two submitted text?
Likewise, someone would have to write a program in PHP to do that. There is
nothing in PHP that would prevent you from writing such a program, so the
answer to your question is YES.
> I just need to be pointed in the right direction.
For starters, have a look at the string functions, then the array functions.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
White dwarf seeks red giant for binary relationship.
*/