[FEATURE] Add returnCount to split
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Feature-67880-AddedCountToListNum.rst
1 ========================================
2 Feature: #67880 - Added count to listNum
3 ========================================
4
5 Description
6 ===========
7
8 A new property ``returnCount`` is added to the stdWrap property ``split``.
9
10 When dealing with comma separated values like the content of field:records or similar,
11 in some cases we need to know, how many items are present inside the csv.
12
13 Example:
14
15 .. code-block:: typoscript
16
17 # should return 9
18 1 = TEXT
19 1 {
20 value = x,y,z,1,2,3,a,b,c
21 split.token = ,
22 split.returnCount = 1
23 }