Help with a delimited string

Foxygti6

New Member
I have several strings that I need to parse. The string is supposed to be delimited with a carrot character, however, if the maximum number of allowed characters in the string is reached, the carrot character is omitted. I need to find a way to deal with this.Here is an example.The rule is that there can be no more than a maximum of 13 characters in it. In the following string, there is an "S" where there should be a carrot character. \[code\]MASSYBU HILLSMARY\[/code\]This is an example of a string that has not reached the 13 character limit\[code\]CYPRUS^TOM\[/code\]How can I deal with strings that have reached the 13 character limit where there is no delimiter as in the first example?
 
Back
Top