Çok Longa € | | $ stringA € bir parça ne kadar uzun javascript P2

0 Cevap php

Nasıl bu PHP kodu JavaScript dönüştürebilirsiniz?

$string = "string How Long is a Piece of String?";

if (strlen($string) < 5)
{
   echo "string is less than 5";
}
else
{
   echo "string is more than 5";
}

0 Cevap