Write a PHP program to create a new string using first two characters of a given string. If the string length is less than 2 then return the original string
Write a PHP program to create a new string using first two characters of a given string. If the string length is less than 2 then return the original string.
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer