Hi, If you get a line in a variable, do the below,
IF (INDEX,'string',1) THEN FINDSTR 'string' in VAR1 SETTING POS, VMPOS, SMPOS THEN *** Do operation END END This would help you. Regards, Ram On 1/30/09, Senthil Kumaran <[email protected]> wrote: > > Hai, > > How can write a code to search a particular string in an file.. > > > Each line is considering a full string.......... > > So if i use Locate or Find function, i cant found a particular string which > i am searching in the line.. > > Any one help me in this issue to solve my problem..... > > > > --~--~---------~--~----~------------~-------~--~----~ Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en -~----------~----~----~----~------~----~------~--~---
