Predefined fuction to search for a particular string from a .txt file in ISM 5.5
Hi All,
Is there any function/service available to check for a particular string inside a text file in iWay designer 5.5.
I want to give the input in the form of .txt file to that function and function should check for the existence for a particular string inside the txt file.
Also is there any way to store the entire .txt file inside a SREG?
Thanks in advance for your help.This message has been edited. Last edited by: Gopal_mys,
iWay ISM 5.5/iWay ISM 6.0 on Windows.
April 21, 2011, 11:58 AM
AK
You can use _FILE() to read the file contents. Once the file contents are stored in a SREG you can use _CONTAINS() to check the existence of a particular string in the SREG value.
iSM 616 iDM 7705 iDQC 802 WF 77 Windows 2008 Server
April 22, 2011, 11:32 AM
Gopal_mys
Thanks AK,
Actaully there was a problem with the file encoding and so I was unable to find the content using the _Contains inside the file..