 So let's look at characters now where before we use the double quotation mark for single characters We're gonna use this single quotation marks. I'm using a new computer variable called str underscore char char and I put this single Character in there. Let's see what the type of this is and that is of type char character I Can ask what the integer value of this character X is and I get back 120 So this is ASCII text. Remember everything in your keyboard would have Almost everything would have an integer representation and the integer representation of the character X is 120 so looks let's just look at what the zero is that is this backslash zero Character that will be character number zero in the ASCII text Now, let's just run this again. I love Julia and Let's just see we're gonna say from one to the length of subs of Str underscore subset. This is a silo Julia again say character number We're gonna look through from one to 13 So it's gonna say character one character two character three is a tab Then we're gonna run through that index from one to 13 With an ASCII integer value of and then we call it the int as we did upstairs String subset I and then a new line. Let's just run that you'll quickly see How the code is put together so character one is the I and with an ASCII integer value of 73 The space you see is 32. There's a space again after the love as 32 again So you can see the integer values in the ASCII text by this simple little loop And we call that integer value of every character just by this INT and inside of that we put the computer variables String underscore subset and call its index so we go from character to character So let's just do this from for I in one From I in 97 to 104 so we're going to loop through 97 98 99 100 101 102 103 104 and we plan print a character value So char and then the index I and then a tab. So let's get see what we get So from 97 to 104 in ASCII text represents lowercase ABCDEFGH Lovely now you can do all zero to 127 then you can just Take these little hashtags pound signs away These are just the comment marks remember you take them away can run that execute that cell and you can see everything from zero to 127 now, let's do the following is valid So I want to know is character number 10 is that valid indeed that is true Now just to show you we are really dealing with integer values when we do have these single quotation mark characters H minus E and That's going to be three Because H has an integer value E has an integer value. They three are parts. We're gonna get three We can say is H less than E. No, it's not because it has a higher integer value And if I take E and I add three to it, it's H So Julia is seeing these single quotation mark characters as integer values And they can do this arithmetic with it, but when it does represent it It's going to represent not the integer value, but indeed The character now let's step over away from ASCII to unicode Now the unicode. This is the way you would write a unicode character So not char with its integer value, but this backslash U and some numbers So this is going to read some character. We don't know what it is yet X in F Okay, let's run that block of code and we say oh, it's this upside down a which in mathematics Of course stands for for all so for all X in this function capital F Now I'll just be a little bit careful because this if we wanted the length of the string now or the index of it What does this? Unicode character does it take up just one space while the reason I'm asking obviously means it's no So let's just look at what the index value one is it is this upside down a which is the same math stands for for all for all values of But if I were to ask for two, I'm going to get this error try it out You'll see you get that error now. We can see what is next what comes after this in this After value number one in the string that contains a Unicode character and we use this function next I and D. Let's look and it says the next value is four That tells us that that took up three spaces this upside down a took up three Spaces and this first space here is actually index number four So that means we've got this difference between We've got this difference between length because length Is going to be false? Because that single character takes up more than one space so we can look at this end of This and we can look at length of and we see it's two different things The length is still going to just count for us that is going to be one two three four five six seven eight but end off of Counts those three values for the upside down a for all sign and takes up three spaces So if you want to run through something be careful for instance in the loop Be careful what you do if you do include Unicode characters great stuff next up We're going to look at splitting and joining strings