[TYPO3-core] RFC #9879: enable charlist for trim function in stdWrap
Steffen Ritter
info at rs-websystems.de
Thu Sep 3 16:03:30 CEST 2009
Georg Ringer schrieb:
> This is a SVN patch request.
>
> Type: Feature
> Bugtracker Reference: http://bugs.typo3.org/view.php?id=9879
>
> Branch: trunk
>
> Problem:
> The trim function of stdwrap is limited to whitespaces but it would be
> very nice to be able to trim any other char too, e.g. a , or whatsoever
>
> Solution:
> Set a new option charList to define the chars which should get trimmed too.
>
> Notes:
> - IMO this is a no-brainer
> - Don't know if the wording is ok for you, so I will add the changes for
> the pending doku changes after some answers
>
> Georg
>
Hey Georg,
+1 for the idea from me.
I used Dmitrys patch as base and attached an updated solution which
fixes the thoughts in the discussion of this topic...
regards
Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: trim3.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090903/e4d45a13/attachment.txt
More information about the TYPO3-team-core
mailing list