Question
a.
string
b.
len
c.
split
d.
length
Posted under UNIX
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 by perl for displaying the length of a string?
Similar Questions
Discover Related MCQs
Q. ___ function returns the first occurrence of a character in a string.
View solution
Q. For extracting a substring, ____ function is used.
View solution
Q. substr function is also used to alter an existing string.
View solution
Q. Which function is used by perl for reversing a string?
View solution
Q. Which function is used for handling substitutions in perl?
View solution
Q. Which escape character is used for identifying a word character?
View solution
Q. We can use find command for testing files with perl.
View solution
Q. Which of the following is referred to as default variable?
View solution
Q. ___ operator is used for selecting current line number.
View solution
Q. ___ is known as range operator.
View solution
Q. The command @x=(1. .10) will assign first ten integer values to the array ‘a’.
View solution
Q. The ___ prefix to an array name signifies the last index of the array.
View solution
Q. For deleting the elements from the left of the array ___ function is used.
View solution
Q. For deleting the elements from the right of the array ___ function is used.
View solution
Q. To add elements to the left side of the array ____ function is used.
View solution
Q. To add elements to the right side of the array ____ function is used.
View solution
Q. Which function can combine the functionalities of push, pop, unshift and shift?
View solution
Q. Perl also supports use of for loop in the following manner.
for($i=0;$i<3;$i++){ }
View solution
Q. For splitting a line or expression into fields, __ is used.
View solution
Q. ___ function is used for joining lists.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond UNIX? 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!