|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
petitescarabée Smarty n00b
Joined: 08 Jul 2008 Posts: 3
|
Posted: Tue Jul 08, 2008 8:30 am Post subject: rechercher un mot dans une chaîne de caractères |
|
|
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 |
|
mumuri Smarty Rookie
Joined: 06 Apr 2008 Posts: 27
|
|
Back to top |
|
Seb085 Smarty n00b
Joined: 18 Jan 2021 Posts: 1
|
Posted: Mon Jan 18, 2021 3:20 pm Post subject: rechercher un mot dans une chaîne de caractères |
|
|
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 |
|
|
|
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
|