Web Technologies -1 : Question Bank : Chapter 1 & 2 - BCS Guruji

Ad

Tuesday, October 3, 2023

Web Technologies -1 : Question Bank : Chapter 1 & 2

Chapter 2: Functions and strings

Q. Write any functions of decompose string with suitable example.

Q. What is regular expression?

Q. How to find out the position of first occurence of a substring in a string.

Q. 



Programs:

Q. Write a php script using regular expressions to check whether the small string appears at the end of a large string.

Q. Write a php script to accept three strings str1,. str2, str 3 from user. Search str2 in str1 and replace all occurences of str2 by str3. Also display total number of occurences.

No comments:

Post a Comment