Skip to content

Commit

Permalink
Merge pull request #2207 from BCBuizer/patch-1
Browse files Browse the repository at this point in the history
Added examples to Find function
  • Loading branch information
mduelae committed Jan 11, 2024
2 parents e0ce9f3 + 4d5b480 commit a2808ea
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions power-platform/power-fx/reference/function-find.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,13 @@ The **Find** function looks for a string within another string and is case sensi
- _WithinString_ - Required. The string to search within.
- _StartingPosition_ - Optional. The starting position to start searching. Position 1 is the first character.

## Examples

| Formula | Description | Result |
| ------------------------------------------------ | ------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- |
| **Find("World", "Hello World")** | Returns the starting position of **"World"**. | 7 |
| **Find("World", "Hello World, Hello World", 10)** | Returns the starting position of the first occurence of **"World"** after the 10th character. | 20 |
| **Find("Mars", "Hello World")** | Returns blank since the FindString is not in the WithinString | Blank() |


[!INCLUDE[footer-include](../../includes/footer-banner.md)]

0 comments on commit a2808ea

Please sign in to comment.