Plugin

Developer
Supported

Streeng

ExpressionEngine 2, ExpressionEngine 3

Back to this add-on's main page
View Other Add-ons From Caddis

     

You must be logged in to post.

unable to trim right

Support Request

pixi
pixi

Hi Caddis,

I tried to truncate a string to have the last character but even if I chose right or left for the “trim” parameter it always gives me the begining of the string.

I need the “7” of “2017” but every case gives me the “2” of “2017” :

{exp:streeng trim='right' characters='1' append=''}{current_time format='%Y'}{/exp:streeng} 

Am I doing everything as I shoud or is it a bug or am I doing something wrong?

Thanks in advance for the answer.