paint-brush
Getting Started With Strings in Swiftby@ishaanbedi
1,398 reads
1,398 reads

Getting Started With Strings in Swift

by Ishaan Bedi3mFebruary 17th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In this article, we'll be looking at the concept of Strings in Swift. Strings, as the name suggests, are a thread/collection of characters, woven together to form a word or a sentence. To use a string in Swift, we enclose the word or the sentence inside double-quotes. To get double quotes inside our string, just put a backslash before the double quote inside the string, and you are good to go. To interpolate a variable or a constant inside a string, we use a back-slash followed by a constant wrapped inside a pair of parentheses.

Company Mentioned

Mention Thumbnail
featured image - Getting Started With Strings in Swift
Ishaan Bedi HackerNoon profile picture
Ishaan Bedi

Ishaan Bedi

@ishaanbedi

i hack shit together

About @ishaanbedi
LEARN MORE ABOUT @ISHAANBEDI'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Ishaan Bedi HackerNoon profile picture
Ishaan Bedi@ishaanbedi
i hack shit together

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite