- A string constant is a constant that represents a string of characters or alphanumeric data whose value is fixed on the program execution. A string variable starts with an alphabet and end with a dollar ( $ ) sign.
- For example:
- name$ = "John"
- address$ = "Italy"