Fixed bug with coilon inside message string

If you write e.g. "this is a message with : a colon in it" the resulting string is ":this" because it parses the last colon found, not the first.