adplus-dvertising
frame-decoration

Question

Which function is used for capitalizing first letter of a string?

a.

strtlower ( )

b.

strtupper ( )

c.

ucfirst ( )

d.

lfirst ( )

Posted under PHP

Answer: (c).ucfirst ( )

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which function is used for capitalizing first letter of a string?

Similar Questions

Discover Related MCQs

Q. In substring selection what's mean of Slicing?

Q. Concatenating operator is used for

Q. All these characters in a string \, ?, *, \, &Hat, $, ] are escaped by

Q. Returns a string argument with both leading and trailing whitespace removed, is a behavior of

Q. By first constructing a message string and then shipping it off to receiving program, is a way of communication between PHP and

Q. For creating pages that contain HTML forms and have multiline strings we can use

Q. Concatenating assignment operator is denoted by

Q. Which statement is correct for specifying a string in code?

Q. What does trailing means in replacement of functions?

Q. Literal string specified in PHP code by

Q. Which function start its search from backward rather than from beginning?

Q. Which function takes a single string and returns its length as an integer?

Q. Strtupper ( ) function returns

Q. PHP offers printf ( ) and

Q. Dot ". " operator in strings are called as

Q. How many operators PHP offer for strings?

Q. Function Strcmp ( ) is equals to

Q. Which three functions has intimate relationship with each other?

Q. Which syntax is very useful for specifying large chunks of interpolated variable text?

Q. Strstr ( ) function selects a substring by its