![]() Perform the following operations on an associative array: Append second string to the first string.Īccept the position from the user from where the characters from the first Compare the two strings using both methods (Hint : Use of explode function.)ĭesign a form to accept two strings. (Use regular expressions)ĭesign a form to accept the details of 5 different items, such as item code, Also split the large string into separate words. The string that will replace all occurrences of small string present in the String appears at the start of the large string. Use ‘include’ construct orrequire stmt).ĭesign a form to accept two strings from the user. Display the result on the next form.(Use the concept of function and default parameters. Give options to choose thearithmetic operation (use radio buttons). (Use built-in functions)ģ]Write a PHP script for the following:Design a form to accept two numbers from the user. ![]() Provide a textbox to accept a string, which will replace the small string in the largestring. Also count thetotal number of occurrences of small string in the large string. Find the first occurrenceand the last occurrence of the small string in the large string. ![]() UseĢ]Write a PHP script for the following:Design a form to accept two strings from the user. (Use radio buttons and the concept of function. Check whether the given string is a palindrome or not, without usingīuilt-in function. Show the occurrences of each vowel from the Write a function to count the total number of ![]()
0 Comments
Leave a Reply. |