Write a PHP program to create a new string from a given string without the first and last character if the first or last characters are 'a' otherwise return the original given string
Write a PHP program to create a new string from a given string without the first and last character if the first or last characters are 'a' otherwise return the original given string
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer