Correct answer is (d) determine the length of string, extract and locate the position of the string
To explain I would say: Though expr’s string handling features are not that elegant, bourne shell users hardly have any choice. For evaluating strings expr uses two expressions separated by a colon.