 So why all the focus about talking about objects? Well, the reality is we've been dealing with objects for a large portion of this course strings are technically objects if we think about a variable right something like 42 42 is very easy to represent in binary and I don't know the binary equivalent of 42 off the top my head, but you know, it's at most Eight care eight ones and zeros strings are much different strings can have Zero characters associated to it or a large number of characters associated to it The way to think about it is you know if we took something like a line here. Hello world this string. It's got how many is that? one two three four five six seven technically we count the space eight nine ten eleven twelve thirteen characters associated to it. Okay, thirteen not a Not a large number But if I wanted to I could have the complete works of William Shakespeare inside of this string Perfectly fine. And so we're starting to get a little bit more into the complexity of things But specifically now we start to remember well if I have strings and strings are objects then I have a dot operator that I can use with my objects and Strings are going to have Functions methods associated to them that allow me to do things to the string. So in this case Strings have a function known as upper and in fact what that is going to do is Uppercase the entire string it won't you know try and find an equivalent for commas or spaces or exclamation points But if there is a letter associated Or inside of the string it will find the uppercase equivalent and that's what we get Same kind of thing as you can easily imagine if we haven't make everything uppercase We have something that is make everything Uppercase and it'll do the exact same thing Just with lower cases and there are a number of different functions that are associated to strings case in point Let's say for example. I wanted to look up how many times an L appears on Or inside of my string, you know, okay. Well, it's hello. Hello. Hello Well, I can do something as simple as count And then say well, how many times does This string appear inside of my string inside of line. Oh well in this case it appears three times I could also Just to show it I could also do line dot count. There's count on More than one character, so I could do something like he Or or he there we are less less I pitch on that Line dot count he well, there's only one instance of capital H lowercase e And so I'd get a one I can also do things like replacing portions of My string so in this case, let's say for whatever reason I wanted to replace. Hello with Jello Well in that case I would give it Some string that I want to look for inside of the string and then I would replace it With a another type of string and so in this case you can see we'd get Jello But very much the same of what was going on with count where I could do more than one character. I could Do something like line dot replace Let's say I want to replace all of the L's with two W's Again the same kind of concepts going on there find every instance of the L character and Replace it with two W's and so the equivalent here would be H E we see an L, so that would be two W's we see another L So we put in two more W's oh comma World and we see another L so we get two more W's D Exclamation point so again once we would take our hello world and that would be pronounced have Whoa world