Manipulating strings

I'm doing a project where text is coming in from and I would like to pull that text into a string, break it into parts, and repackage it for printing on a thermal printer. The reason for the repackaging is to be able to format different parts of the text (bold, italics, size, etc.). So my pseudo-code would be something like:

String msgString = data->value(); // Could be something like "Title:This is the body of the text."

Break up the string into title and body

String title = the title part of my message
String body = the main body of my message


So coming off the printer it would look like:
This is the body of the text.

I can use any character to break up the text, but I don't understand how I can look through the string and separate the parts. Any help would be greatly appreciated!

Do not use String (Capital S).

You are using the terms String and string interchangeably. They are not the same thing. The Strings (capital S) are objects of the String class. The strings are null terminated character arrays.

It is not a good idea to use the String (capital S) class on an Arduino as it can cause memory corruption in the small memory on an Arduino. This can happen after the program has been running perfectly for some time. Just use cstrings - char arrays terminated with '\0' (NULL).

The parse example in Serial Input Basics may give you some ideas.