Which of the following returns a substring of a string ?
A. $subs
B. $substring
C. $substr
D. None of the mentioned
Answer:A
Which of the following returns a substring of a string ?
A. $subs B. $substring C. $substr D. None of the mentioned
Explanation:$substr accepts three expressions as arguments: the first argument must resolve to a string, and the second and third arguments must resolve to integers. 2. Point out the correct statement :