String is a group of characters enclosed in double quotes.
Characters represents letters and symbols. Each character represents ASCII Code 0 to 127.
Julia defines the concret type for group of characters is Strings.
- String contains group of characters
- Immutable objects, once created, not able modify text.
- Julia datatype is String
How to declare Strings in Julia
str = "String example"
println(str)
println(typeof(str))
Output:
String example
String