2021 | OriginalPaper | Chapter
Characters & Strings
Author : Noel Kalicharan
Published in: Julia - Bit by Bit
Publisher: Springer International Publishing
In this chapter, we will explain the following: Some important features of character sets How to work with character constants and values How to declare character variables in Julia How you can use characters in arithmetic expressions How to read, manipulate and print characters How to convert characters from one case to the other How to test for end-of-line using \n How to test for end-of-file using eof How to compare characters How to read characters from a file How to convert a number from character to integer How to compare strings How to index into a string How to create a string from pieces of another How to fetch a word embedded among other data How to write palindrome and Geography quiz programs Array of Characters versus Strings Some functions for the advanced user