Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Predefined fuction to search for a particular string from a .txt file in ISM 5.5
Go
New
Search
Notify
Tools
Reply
  
Predefined fuction to search for a particular string from a .txt file in ISM 5.5
 Login/Join
 
Member
posted
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.
 
Posts: 20 | Registered: April 11, 2011Reply With QuoteReport This Post
Member
posted Hide Post
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
 
Posts: 29 | Registered: May 01, 2007Reply With QuoteReport This Post
Member
posted Hide Post
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..

This is resolved now..


iWay ISM 5.5/iWay ISM 6.0 on Windows.
 
Posts: 20 | Registered: April 11, 2011Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Predefined fuction to search for a particular string from a .txt file in ISM 5.5

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.