Skip to content

Commit ff3a08f

Browse files
Update column-formatting.md (SharePoint#5304)
Corrected the Substring results
1 parent 8867b4b commit ff3a08f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/declarative-customization/column-formatting.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,10 +1310,10 @@ Operators specify the type of operation to perform. The following operators are
13101310
**Ternary operators** - The following are operators that expect three operands:
13111311

13121312
- **substring**: returns the part of the string between the start and end indicies. - _Only available in SharePoint Online_
1313-
- `"txtContent":"=substring('DogFood', 3, 4)"` results in _Fo_
1314-
- `"txtContent":"=substring('DogFood', 4, 3)"` results in _Fo_
1315-
- `"txtContent":"=substring('DogFood', 3, 6)"` results in _Food_
1316-
- `"txtContent":"=substring('DogFood', 6, 3)"` results in _Food_
1313+
- `"txtContent":"=substring('DogFood', 3, 4)"` results in _F_
1314+
- `"txtContent":"=substring('DogFood', 4, 3)"` results in _F_
1315+
- `"txtContent":"=substring('DogFood', 3, 6)"` results in _Foo_
1316+
- `"txtContent":"=substring('DogFood', 6, 3)"` results in _Foo_
13171317

13181318
The substring() method returns the part of the string between the start and end indexes, or to the end of the string.
13191319

0 commit comments

Comments
 (0)