Which of the following is a built-in function for awk?

Which of the following is a built-in function for awk?
A. length
B. index
C. size
D. length and index
 
Answer: a
Explanation: awk has several built-in functions which are used for performing arithmetic as well as string operations. The length function is used for determining the length of its argument while the index is used for determining the position of a string str1 within another string str2.
 

Tìm kiếm

Back
Top