What is the use of ‘*’ operator in a string manipulation
?
Answers
Answered by
9
Answer:
The * operator can be used to repeat the string for a given number of times. Writing two string literals together also concatenates them like + operator. If we want to concatenate strings in different lines, we can use parentheses.
Explanation:
♡
Answered by
0
Answer:
The " * " is used to copy a string, making multiple copies of it.
" operator " * 10 for example will be " operator operator operator operator operator operator operator operator operator operator "
Similar questions