Skip to content

Commit

Permalink
Add doc for substring/start_with/end_with
Browse files Browse the repository at this point in the history
  • Loading branch information
jovezhong committed Jan 13, 2025
1 parent b657234 commit 20b22df
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/functions_for_text.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ For example, `format('{} {}', 'Hello', 'World')`gets `Hello World`

`substr(str,index [,length])` Returns the substring of `str` from `index` (starting from 1). `length` is optional.

### substring

`substring(str,index [,length])` Alias of [substr](#substr).

### start_with
`start_with(str,prefix)` Determines whether a string starts with a specified prefix.

### end_with
`end_with(str,suffix)` Determines whether a string ends with a specified suffix.

### trim

`trim(string)`
Expand Down

0 comments on commit 20b22df

Please sign in to comment.