Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/ja/reference/string/trim.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ trim(' __hello__ ', ['_', ' ']); // 'hello'
#### 戻り値

(`string`): 指定した文字が前後から削除された新しい文字列を返します。

#### エラー

`chars` が文字列で、長さが 1 でない場合はエラーが発生します。
4 changes: 4 additions & 0 deletions docs/ja/reference/string/trimStart.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ trimStart(' __hello', ['_', ' ']); // 'hello'
#### 戻り値

(`string`): 指定した文字が先頭から削除された新しい文字列を返します。

#### エラー

`chars` が文字列で、長さが 1 でない場合はエラーが発生します。
4 changes: 4 additions & 0 deletions docs/ko/reference/string/trim.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ trim(' __hello__ ', ['_', ' ']); // 'hello'
#### 반환 값

(`string`): 지정한 문자가 앞뒤에서 제거된 새로운 문자열을 반환해요.

#### 에러

`chars`가 문자열일 때 길이가 1이 아니면 에러를 발생시켜요.
4 changes: 4 additions & 0 deletions docs/ko/reference/string/trimStart.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ trimStart(' __hello', ['_', ' ']); // 'hello'
#### 반환 값

(`string`): 지정한 문자가 시작에서 제거된 새로운 문자열을 반환해요.

#### 에러

`chars`가 문자열일 때 길이가 1이 아니면 에러를 발생시켜요.
4 changes: 4 additions & 0 deletions docs/reference/string/trim.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ trim(' __hello__ ', ['_', ' ']); // 'hello'
#### Returns

(`string`): Returns a new string with the specified characters removed from the beginning and end.

#### Errors

Throws an error if `chars` is a string with a length other than 1.
4 changes: 4 additions & 0 deletions docs/reference/string/trimStart.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ trimStart(' __hello', ['_', ' ']); // 'hello'
#### Returns

(`string`): Returns a new string with the specified characters removed from the start.

#### Errors

Throws an error if `chars` is a string with a length other than 1.
4 changes: 4 additions & 0 deletions docs/zh_hans/reference/string/trim.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ trim(' __hello__ ', ['_', ' ']); // 'hello'
#### 返回值

(`string`): 返回从开头和结尾删除指定字符的新字符串。

#### 错误

如果 `chars` 是字符串且长度不为 1,则抛出错误。
4 changes: 4 additions & 0 deletions docs/zh_hans/reference/string/trimStart.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ trimStart(' __hello', ['_', ' ']); // 'hello'
#### 返回值

(`string`): 返回一个从开头删除了指定字符的新字符串。

#### 错误

如果 `chars` 是字符串且长度不为 1,则抛出错误。