![]() |
|
InStrThe InStr function in Expression Builder returns the position of the first occurrence of one string within another. SyntaxInstr(string1, string2, start, end) Result TypeInteger ArgumentsThe following table describes the arguments for the function.
ExamplesThe following example returns the value 9: InStr('john.doe@company.com','@') The following example shows how the InStr function can be used in a workflow rule condition. In the workflow rule condition, the InStr function is used to determine if a specified string appears in a field on the record. If the string is found in the field, then the actions specified on the workflow rule are performed. In this example, the InStr function determines if the Subject field in a record contains the word REVIEW. The action on the workflow rule is performed only if the Subject field contains the word REVIEW in uppercase letters. InStr([<Subject>], 'REVIEW') > 0 Related TopicsSee the following topics for related Expression Builder information: |
| Published 5/4/2012 | Copyright © 2005, 2012, Oracle. All rights reserved. Legal Notices. |