Skip to content

Commit

Permalink
Update string-clamp.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrizzz-1508 authored Jan 20, 2024
1 parent d11899b commit 2346017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc_posts/_commands-string/string-clamp.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ You need to specify the index of the first character and the amount of character
|-------|--------|--------|
|Save Variable As| String| Variable name to save the clamped string.
|String (text)| String| String (text) to clamp
|Start Position| Int {% include asterisk.html%}| Where to start the clamp
|Start Position| Int {% include asterisk.html%}| Where to start the clamp (first character = 0)
|Amount of Characters| Int {% include asterisk.html%}| Amount of characters to include in the clamp
{:class='table table-primary ' }

| Original string | Start| Amount| Result|
|-------|--------|--------|--------
|Hello World!|0|5|Hello
|Hello World!|1|5|Hello
|This is cool!|9|4|cool
{:class='table table-secondary w-auto table-hover data-toggle='table' text-break }

Expand Down

0 comments on commit 2346017

Please sign in to comment.