Question
a.
strspn ( )
b.
strcspn ( )
c.
count_chars
d.
All of them
Posted under PHP
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which PHP function treats a string as collection of characters rather than a sequence?
Similar Questions
Discover Related MCQs
Q. By using special wildcards for matching a string which function is used?
View solution
Q. In Perl-compatible patterns any pattern that is followed by ? this means that
View solution
Q. What is meaning of "." in POSIX style regex?
View solution
Q. Why a special character is used in beginning and end of string in Perl-compatible patterns?
View solution
Q. Ereg ( ) function is no more included in
View solution
Q. Inverse function of explode ( ) is
View solution
Q. All these functions are preg_quote ( ), preg_grep ( ), preg_split ( ), preg_match_all ( ) example of
View solution
Q. Htmlspecialchars ( ) function takes a string as argument and returns string in which form, that has a special meaning in HTML
View solution
Q. MD5 is not secure to store passwords because
View solution
Q. PHP removes ereg functions, and prefer using
View solution
Q. A sequence of characters that is treated as a unit is called
View solution
Q. Ltrim ( ) returns its string argument with
View solution
Q. When two strings are exactly equivalent Strcmp ( ) returns what?
View solution
Q. For finding out one string is equal to another string which function we can use?
View solution
Q. Returns a string arguments with trilling blank space removed, is a behavior of
View solution
Q. Which function is used for replacing whole string with an alternate string?
View solution
Q. Stristr ( ) is identical to Strstr ( ) except that
View solution
Q. Replacing string from left hand side is known as
View solution
Q. A function that capitalizes first letter of each word in a string, is a
View solution
Q. Case functions are used for
View solution
Suggested Topics
Are you eager to expand your knowledge beyond PHP? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!