Say I have two strings

```
$string1 = "Hello my name is Steve and this is spam";
$string2 = "Hello my name is Steven and this comment is spam";

```

These two strings are alike.

Is there a way to compare these, as in `if ($string1 like $string2)` in php?