View previous topic :: View next topic |
Author |
Message |
kirmvs Beginner
Joined: 07 Apr 2004 Posts: 5 Topics: 3
|
Posted: Mon Apr 12, 2004 6:59 pm Post subject: Location of string? |
|
|
hi,
Is there a function/code (CLIST/File-Aid/Rexx) which returns the location of a string in a record.
Thanks,
Kiran |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Mon Apr 12, 2004 7:11 pm Post subject: |
|
|
The REXX function POS("needle",haystack) returns a numeric value of the location of "needle" within the string haystack. There is also a similar function WORDPOS. |
|
Back to top |
|
 |
|
|