Propose : |set

Article proposé
  ---------------

L'article "|set" est proposé à la publication
  depuis le dimanche 7 février 2016.

Vous êtes invité à venir le consulter et à donner votre opinion
  dans le forum qui lui est attaché. Il est disponible à l'adresse :
http://www.spip.net/ecrire/?exec=article&id_article=6011

** |set **
par jack

The filter |setnom affects the current value to the variablenom. It is an alternative, sometimes more convenient to write, to the tag#SETnom,valeur. So : [(#TEXTE|mb_strlen|setlongueur)] [(#GETlongueur) caractères] is the equivalent of [(#SETlongueur,[(#TEXTE|mb_strlen)])] [(#GETlongueur) caractères] The second argument of the filter |set, if it is not null, indicates to "continue", that is to say, pass the value in the sequence of filters, or display if one is at the end of the chain : [(#TEXTE*|setbrut,1|propre|settraite,1|mb_strlen|setlongueur,1)] store plain text in the variable brut, the text treated in traite, the number of characters in longueur, and display the value in fine (...)