KB Tag: String interpolation

  • String interpolation in swift

    String interpolation is just several imagine term for combining variables and constants within a string. For example a string like so: var brand = “Apple” Now we might simply print this out by executing: print(“My favorite brand is \(brand)”) We might also utilize this way: print(“My favorite brand is ” + brand) But this technique…