 Hey everybody, it's Brian and welcome to the 42nd Qtutorial with C++ and GUI programming. Today we're going to cover the Q string list. Now if you look up the documentation, the Q string list provides a list of strings. Now you might be wondering, why do you need this? You've already got the Q list, the Q link list, and Q map. Well the Q string list adds additional functionality that makes your life working with a list of strings much, much easier. And we're going to cover some of those. So let's just jump right in, a regular console program made, and I've included a reference to Q debug. And we will just say, alright, include Q string list, and we'll just call it our list. And we can do, you know, the tried and true list append. And let's just go for each Q string, for each Q string in our list. We're just going to print these out here. So we can see the contents of what's going on in there. So we've added a hello to our list here. Now one thing you can also do is say, let's say you have a string. So we have a Q string and we'll call it line. We're just going to say A, B, C, D, E, F, G. So we've got this comma separated string here. And what we want to do is we want to get these items into this list. And we want a very simple way of doing that. So what you do is you say, list equals line.split, and you just give it a separator so it knows what you want it to split on. And let's compile and run this, sure enough, A, B, C, D, E, F, G. So we've just very simply split all those apart. Now one thing you can do after you've done that is say we want to do replace in strings. One thing we want to do is we want to replace all the occurrences of strings. So we'll say A times a B, we want it to say Batman, compile and run this. Sure enough, B has been turned into Batman. Okay, now let's say we've got our list and we've done some manipulation to it. And we want to turn this list into a big string again. So let's just say Q string, and we'll call this after, equal list, join. And we want to separate these with a comma again. And let's just print this out, so QDeboot. Let's actually just comment this out so it doesn't clutter the screen here. Compile and run. And there is our list converted back into a Q string. Pretty neat. We of course have all the other features of a Q list. So one thing you should really do is go out and look at the documentation for the Q string list because I'm leaving a couple things out here. It's a very, very powerful class and if you're going to be working with a list of strings I highly recommend you use the Q string list instead of just a Q list because you get all this added functionality. So this is Brian. I hope you found this tutorial educational and entertaining and thank you for watching.