Split

Hi,
Kindly advice how to split the message with 2 line of feed.

Example message :-

ALARM @SAM092
P1: OK/CB:FT
P2: OK/CB:FT

First line end with Chr(13)
2nd Line end with Chr(10).

I want to split the message in single code.

Now am using " Message.Split( Chr(10))"

Use ReplaceLineEndings first. Then split on the LineEnding that you kept.

Thanks… Could u advice how to replace the line endings

http://documentation.xojo.com/index.php/ReplaceLineEndings

s = ReplaceLineEndings( s, Chr( 10 ) )

Thanks all…