Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Deux premières lettres

 
Post new topic   Reply to topic    Smarty Forum Index -> Language: French
View previous topic :: View next topic  
Author Message
stephcorman
Smarty n00b


Joined: 08 Nov 2014
Posts: 1

PostPosted: Sat Nov 08, 2014 7:32 am    Post subject: Deux premières lettres Reply with quote

Bonjour,

Je souhaiterais récupérer les deux premières lettres d'un mot, pour pouvoir les entourés d'une balise <span>.
En gros, je voudrais pouvoir arriver à ceci : <span>BO</span>NJOUR

Comment puis-je m'y prendre en Smarty?


Merci beaucoup !
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Language: French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP