[TYPO3-english] Substring in FCE Typoscript

Cédric Aellen cedric.aellen at gmail.com
Thu Oct 4 14:24:12 CEST 2012


Hi everybody,

I'm building a little FCE to format an address box with the correct hCard 
microformats.

Users can add a phone in the FCE. I accept 9 digit int value. 
(ex.:112223344).
I want to reformat this to "+41 11 222 33 44".

It means adding "+41 " at the beginning and a space after the second, fifth 
and seventh char.

I'm trying to use `substring` in the "Custom stdWrap" of the FCEs element 
without any result.

Can somebody help me ?


More information about the TYPO3-english mailing list