![]() Chapter Contents |
![]() Previous |
![]() Next |
| RXMATCH |
| Category: | Character String Matching |
| Restriction: | Use with the RXPARSE function |
| Syntax | |
| Arguments | |
| Details | |
| Comparisons | |
| Example | |
| See Also |
Syntax |
| position=RXMATCH (rx, string) |
| Details |
RXMATCH searches the variable string for the pattern from RXPARSE and returns the position of the start of the string.
| Comparisons |
The regular expression (RX) functions and CALL routines work together to manipulate strings that match patterns. Use the RXPARSE function to parse a pattern you specify. Use the RXMATCH function and the CALL RXCHANGE and CALL RXSUBSTR routines to match or modify your data. Use the CALL RXFREE routine to free allocated space.
| Example |
See the RXPARSE function Example.
| See Also |
| Functions and CALL routines:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.