Data types in Swift
Swift provides us with both built-in and user defined data types. The most common data types available with Swift are…
Team of Technologists.
Swift provides us with both built-in and user defined data types. The most common data types available with Swift are…
We can append a character to the string using append().
We can include unicode scalar values in string literal by using the format \u{n}. n varies from 1-8 digit hexadecimal numbers.
We can include the following special characters in String literals. \0 (null character) \” (double quotation) \’ (single quotation) \t …