Is string is a struct or datatype

iam a beginner in swift iam feeling difficult understanding this below line

var subash:String

Is string is struct or datatype?

if it is struct can i create custom struct whic acts like above one ?

If you're a beginner, I highly recommend you read a book targeted at beginners first, such as Swift Apprentice | raywenderlich.com, which is more accessible than Apple's book.

You already brought this up just a couple of hours ago: What is string?

2 Likes

Closing.