Replace word and number
-
Hi,
I have a problem to replace a number with a word. For example, when I write this :
[str_replace( array( “2”, “30”, “22”,”MaisonVille”,”16″), array( “Maison”, “Maison de village”, “Corps de ferme”, “Maison de ville”, “Longère” ), {MAISON[1]/SS_TYPE[1]} )]
For 2 it is OK with Maison
But for 22 it is not OK because it displays MaisonMaison instead of Corps de ferme…
Could you help me please?
I am french so I am sorry if my english is not very good.Thank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Replace word and number’ is closed to new replies.