Search, replace
Search functions let you perform different types of searches. You can search data for specific words or sequences of characters, values within a range, blank values, and values matching a pattern.
Replace functions give you different options for searching and replacing data.
Function descriptions
Function | Description |
---|---|
Returns a number specifying the starting location of a particular occurrence of a substring within a character value. |
|
Returns a logical value indicating whether the specified value falls within a range. |
|
Replaces the first invalid character in a string, and all subsequent characters, with blanks. |
|
Returns a logical value indicating whether the specified string is present in a particular field, or anywhere in an entire record. |
|
Returns a logical value indicating whether any string in a set of one or more specified strings is present in a particular field, or anywhere in an entire record. |
|
Returns a logical value indicating whether the input value is blank. |
|
Returns a logical value indicating if a character string matches a specified format string containing wildcard characters, literal characters, or both. |
|
Returns a logical value indicating whether the specified value matches any of the values it is compared against. |
|
Returns a count of the number of times a substring occurs in a specified character value. |
|
Returns a logical value indicating whether the pattern specified by a regular expression occurs in a string. |
|
Replaces all instances of strings matching a regular expression with a new string. |
|
Replaces all instances of a specified character string with a new character string. |
|
Returns a logical value indicating whether a specified string occurs at a specific byte position in a record. |