User Tools

Site Tools


Table of Contents

SEARCH

Guide Section: Processing Object Data | EASAP Tree: DATA PROCESSING Branch


SEARCH locates one string within another.

SEARCH can test whether a string starts, ends or contains another string.

SEARCH can also be used to find the position within the string of the first or last occurrence of the search string.

Both the input string Search Text: and the search string Value: will usually contain DORs.

Regular Expressions may also be turned on for use during searching.

SEARCH
Essential Parameters:
Value:Drop down list to select a string, SCALAR DORs only.
Search Text:The text to search for
Function:String match operation (CONTAINS, ENDS WITH, EQUALS, FIRST, LAST, STARTS WITH)
Optional Parameters:
Delimiter:Character to act as delimiter in DOR in Value: and Search Text: above. default→%
Allow Regular Expressions:default→FALSE, TRUE

Search Examples

The following examples use a SEARCH called search1

Example 1

  • Value: Error Code: 131
  • Search Text: Error
  • Function: CONTAINS
  • search1→TRUE

Example Two

  • Value: Error Code: 131
  • Search Text: error
  • Function: CONTAINS
  • search1→FALSE (case does not match)

Example Three

  • Value: Error Code: 131
  • Search Text: Error
  • Function: STARTS WITH
  • search1→TRUE

Example Four

  • Value: Error Code: 131
  • Search Text: :
  • Function: FIRST
  • search1→11 (11th character is the first match)

Example Five

  • Value: Error Code: 131
  • Search Text: $
  • Function: FIRST
  • search1-1 (-1 indicates no match)

Example Six (Regular Expressions)

  • Value: Error Code: 131
  • Search Text: : [\d]{3}
  • Function: CONTAINS
  • Allow Regular Expressions: TRUE
  • search1→TRUE (searched for a colon followed by a space followed by three numbers)

Example Seven

  • Value: Error Code: 131
  • Search Text: : [\d]{4}
  • Function: CONTAINS
  • Allow Regular Expressions: TRUE
  • search1→FALSE (searched for a colon followed by a space followed by 4 numbers)

Page Tools