What is String Interpolation in Swift?

String interpolation is a string literal that can evaluate all included expressions and convert them into string form. We can include the expressions within parentheses(( )), prefixed by a backslash(\).

Leave a Reply