>thanks
>himar,
>acctulay i collect the not name words from string and want replace in other table, i thing occures() only count the word how many times are present in a string( am i true)
>thanks
>khubaib
Well, occurs() can help you find the duplicates. To actually get rid of the duplicate words would require more work.
For instance, the function at() can tell you where a substring starts - at what position. Then you might extract parts of the string with left() and substr().
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)