Posted: Mon Oct 07, 2002 5:57 pm Post subject: ESQL for SET SUBSTRING(...)
Master
Joined: 27 Aug 2002 Posts: 291 Location: Malaysia
Let's say there's a field consisting of 4 digits in an XML message... ('1234')
I'm trying to change only the 2nd digit in the message... (Changing '2' to '9' to form '1934')
I tried using the following code...
Code:
SET SUBSTRING(OutputRoot.XML.Msg.FieldA FROM 2 to 1) = '9';
But unfortunately SET and SUBSTRING doesn't work together... It gives me syntax error
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum