@@ -140,13 +140,13 @@ zero-based.
140140Returns the character at the given position. If the position is negative, or greater than
141141the length of the string, the function will produce an error.
142142
143- <string >.charAt(<int >) -> <string >
143+ <string>.charAt(<int>) -> <string>
144144
145145Examples:
146146
147- 'hello'.charAt(4) // return 'o'
148- 'hello'.charAt(5) // return ''
149- 'hello'.charAt(-1) // error
147+ 'hello'.charAt(4) // return 'o'
148+ 'hello'.charAt(5) // return ''
149+ 'hello'.charAt(-1) // error
150150
151151### IndexOf
152152
@@ -156,33 +156,33 @@ not found the function returns -1.
156156The function also accepts an optional offset from which to begin the substring search. If the
157157substring is the empty string, the index where the search starts is returned (zero or custom).
158158
159- <string >.indexOf(<string >) -> <int >
160- <string >.indexOf(<string >, <int >) -> <int >
159+ <string>.indexOf(<string>) -> <int>
160+ <string>.indexOf(<string>, <int>) -> <int>
161161
162162Examples:
163163
164- 'hello mellow'.indexOf('') // returns 0
165- 'hello mellow'.indexOf('ello') // returns 1
166- 'hello mellow'.indexOf('jello') // returns -1
167- 'hello mellow'.indexOf('', 2) // returns 2
168- 'hello mellow'.indexOf('ello', 2) // returns 7
169- 'hello mellow'.indexOf('ello', 20) // error
164+ 'hello mellow'.indexOf('') // returns 0
165+ 'hello mellow'.indexOf('ello') // returns 1
166+ 'hello mellow'.indexOf('jello') // returns -1
167+ 'hello mellow'.indexOf('', 2) // returns 2
168+ 'hello mellow'.indexOf('ello', 2) // returns 7
169+ 'hello mellow'.indexOf('ello', 20) // error
170170
171171### Join
172172
173173Returns a new string where the elements of string list are concatenated.
174174
175175The function also accepts an optional separator which is placed between elements in the resulting string.
176176
177- <list<string >>.join() -> <string >
178- <list<string >>.join(<string >) -> <string >
177+ <list<string>>.join() -> <string>
178+ <list<string>>.join(<string>) -> <string>
179179
180180Examples:
181181
182- [ 'hello', 'mellow'] .join() // returns 'hellomellow'
183- [ 'hello', 'mellow'] .join(' ') // returns 'hello mellow'
184- [ ] .join() // returns ''
185- [ ] .join('/') // returns ''
182+ ['hello', 'mellow'].join() // returns 'hellomellow'
183+ ['hello', 'mellow'].join(' ') // returns 'hello mellow'
184+ [].join() // returns ''
185+ [].join('/') // returns ''
186186
187187### LastIndexOf
188188
@@ -304,8 +304,8 @@ ASCII range.
304304
305305Examples:
306306
307- 'TacoCat'.upperAscii() // returns 'TACOCAT'
308- 'TacoCÆt Xii'.upperAscii() // returns 'TACOCÆT XII'
307+ 'TacoCat'.upperAscii() // returns 'TACOCAT'
308+ 'TacoCÆt Xii'.upperAscii() // returns 'TACOCÆT XII'
309309
310310## Encoders
311311
0 commit comments