adplus-dvertising
frame-decoration

Question

Why a special character is used in beginning and end of string in Perl-compatible patterns?

a.

Because it indicates the beginning and end of the pattern

b.

Because it indicates that it?s a integer string

c.

Because it indicates the literal

d.

It indicates nothing

Answer: (a).Because it indicates the beginning and end of the pattern

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Why a special character is used in beginning and end of string in Perl-compatible patterns?

Similar Questions

Discover Related MCQs

Q. Ereg ( ) function is no more included in

Q. Inverse function of explode ( ) is

Q. All these functions are preg_quote ( ), preg_grep ( ), preg_split ( ), preg_match_all ( ) example of

Q. Htmlspecialchars ( ) function takes a string as argument and returns string in which form, that has a special meaning in HTML

Q. MD5 is not secure to store passwords because

Q. PHP removes ereg functions, and prefer using

Q. A sequence of characters that is treated as a unit is called

Q. Ltrim ( ) returns its string argument with

Q. When two strings are exactly equivalent Strcmp ( ) returns what?

Q. For finding out one string is equal to another string which function we can use?

Q. Returns a string arguments with trilling blank space removed, is a behavior of

Q. Which function is used for replacing whole string with an alternate string?

Q. Stristr ( ) is identical to Strstr ( ) except that

Q. Replacing string from left hand side is known as

Q. A function that capitalizes first letter of each word in a string, is a

Q. Case functions are used for

Q. Chop ( ), ltrim ( ) and trim functions are used for

Q. Which function is identical to Strstr ( )?

Q. Selecting a substring by numerical position is property of

Q. In substring selection which function modifies a string?