Skip to content

Commit

Permalink
fix: no loger needed new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
MineBartekSA committed Aug 2, 2023
1 parent 38988d6 commit 22157a6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/guides/general/textSplitting.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $textSplit[hello-world-!;-]
content: |
<discord-quote>world</discord-quote>
```
\

# $splitText
Each separated text has a number, i.e. an index. `$splitText` is a function that returns one of the elements of the separated text by an index or the sign `<` - the very first element, or `>` - the very last element.

Expand Down Expand Up @@ -84,7 +84,7 @@ $textSplit[hello world !; ]
world
!</discord-quote>
```
\

# $getTextSplitLength
Returns the number of splits.

Expand Down Expand Up @@ -115,7 +115,7 @@ $textSplit[hello%world%!;%]
content: |
<discord-quote>3</discord-quote>
```
\

# $getTextSplitIndex
Retrieves index from the provided value. Returns `-1` if it couldn't find the value.

Expand Down Expand Up @@ -162,7 +162,7 @@ $textSplit[hello_world_!;_]
content: |
<discord-quote>-1</discord-quote>
```
\

# $joinSplitText
This function returns the current elements of the separated text with the specified (sometimes new) separator.

Expand Down Expand Up @@ -199,7 +199,7 @@ $textSplit[hello#world#!;#]
world
!</discord-quote>
```
\

# $removeSplitTextElement
This function removes an element from the separated text by the specified index.

Expand Down Expand Up @@ -234,7 +234,7 @@ $removeSplitTextElement[3]
content: |
<discord-quote>hello-world</discord-quote>
```
\

# $editSplitText
This function replaces the element at the specified index with a new element instead of the previous one.

Expand Down Expand Up @@ -270,7 +270,7 @@ $editSplitText[2;bdfd]
content: |
<discord-quote>hello-bdfd-!</discord-quote>
```
\

# Simple Code
```
$nomention
Expand Down

0 comments on commit 22157a6

Please sign in to comment.