Home »
MCQs »
Perl Programming MCQs
'x' operator on string used to?
36. 'x' operator on string used to?
- Add x character to the string
- Repeat the given string multiple times
- Add two strings
- None of these
Answer: B) Repeat the given string multiple times
Explanation:
The "x" operator in Perl strings is used to repeat the given string multiple times.