The string is a group of characters enclosed in double-quotes.

Characters represent letters and symbols. Each character represents ASCII Code 0 to 127.

Julia defines the concrete type for a group of characters as Strings.

  • String contains a group of characters
  • Immutable objects, once created, are not able to modify text.
  • Julia’s datatype is String

How to declare Strings in Julia

str = "String example"
println(str)
println(typeof(str))

Output:

String example
String