Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

rechercher un mot dans une chaîne de caractères

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French
View previous topic :: View next topic  
Author Message
petitescarabée
Smarty n00b


Joined: 08 Jul 2008
Posts: 3

PostPosted: Tue Jul 08, 2008 8:30 am    Post subject: rechercher un mot dans une chaîne de caractères Reply with quote

Bonjour,

Je ne trouve pas d'info comment chercher un mot dans une chaine de caratère (qui est une variable) pour colorer ce mot. Pourriez-vous m'aider svp ?!

Merci d'avance.
Back to top
View user's profile Send private message
mumuri
Smarty Rookie


Joined: 06 Apr 2008
Posts: 27

PostPosted: Sun Jul 13, 2008 4:21 pm    Post subject: Reply with quote

ce smarty devrait t'aider
http://smarty.incutio.com/?page=modifier.google_highlight
Back to top
View user's profile Send private message Visit poster's website
Seb085
Smarty n00b


Joined: 18 Jan 2021
Posts: 1

PostPosted: Mon Jan 18, 2021 3:20 pm    Post subject: rechercher un mot dans une chaîne de caractères Reply with quote

Bonjour,
Je sais que c'est un vieux sujet mais je recherche cette information, malheureusement le lien est mort. A la seul différence est que je recherche un mot dans une chaine de caractère pour pouvoir le récupéré dans un if afin de changer la classe du div suivant si le mot est présent ou non dans la variable titre
Savez-vous comment faire ?
Je vous remercie par avance
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    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