Hallo Gregor, ja, das von mir gewählte (vereinfachte) Beispiel ließe sich hervorragend mit der replacement-Funktion lösen. Danke für den Tipp! Bei meiner Aufgabenstellung bin ich aber noch auf ein anderes Problem gestoßen, zu dem ich ein neues Posting mache.
Gruß, Johannes. > -----Ursprüngliche Nachricht----- > Von: typo3-german-boun...@lists.typo3.org [mailto:typo3-german- > boun...@lists.typo3.org] Im Auftrag von Gregor Hermens > Gesendet: Mittwoch, 21. Dezember 2016 18:13 > An: typo3-german@lists.typo3.org > Betreff: Re: [TYPO3-german] OptionSplit Frage > > Hallo Johannes, > > Johannes C. Laxander wrote: > > > ich habe ein Feld, das ich mit der stdWrap-Funktion 'split' zerlege. > > Der Inhalt kann sein: > > > > 1 oder 1,2 oder 1,2,3 > > > > Nur ab dem 2. Element soll ein <br> davor, also: > > > > 1 > > 1<br>2 > > 1<br>2<br>3 > > > > Wie kann ich das mit optionSplit lösen? > > wie wärs mit > > stdWrap.replacement { > search = , > replace = <br> > } > > https://docs.typo3.org/typo3cms/TyposcriptReference/7.6/Functions/Repla > cement/Index.html > > hth > Gruß, > Gregor > -- > http://www.a-mazing.de/ | Certified TYPO3 Integrator > > _______________________________________________ > TYPO3-german mailing list > TYPO3-german@lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german