str1 = "LIMITEDESCRITøRIO"
str2 = "RITøRIO"
str3 = "øRIO"
echo "Length = $str1 $str2 $str3"
Result:
Length = 13 4 1
Length is getting calculated only till the occurrence of special character. And the rest are ignored.
Can anyone pls explain the reason behind this and also give me the solution to calculate the length of full string that contains special character.