Is it possible to manipulate output?

I am running into issues with a line that has a lot of data in it. I am trying to determine if a string is separated by a ":". The problem is that if the data isn't actually separated by a ":" the line is long enough that it will eventually match on a ":" later in the line.

So I was wondering is there a way to output the entire string (which has distinct beginning and ending characters) to a temp output variable and then check if the temp output contains a ":" and if so split it into two different outputs.

I don't think this is possible, but I thought I would ask and see if anyone else has a suggestion.

This is a bit confusing as the two conditions of the ":" contradict each other. Do you have an example you can share, preferably with a screenshot to verify?