Jump to content

kicken

Gurus
  • Posts

    4,705
  • Joined

  • Last visited

  • Days Won

    179

Everything posted by kicken

  1. Use count_chars and array_diff <?php $a = 'abcDEF'; $b = 'EcFabD'; $aChars=count_chars($a, 1); $bChars=count_chars($b, 1); if ($aChars==$bChars){ echo "Strings match"; } else { echo "No match"; } [edit] No need for the array stuff aparently
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.