>hi all,
>i try to get result as if thisform.text1.value=drive , i want to add "ed" to be
>like "driveed",
>
>i try as under
>thisform.text2.value=ltrim(thisform.text1.value)+("ed")
>"drive ed"
>
ltrim() removes spaces from the left, but you need to remove spaces from the right. That is why in this case you might use rtrim() (remove spaces from the right), or alltrim() (remove spaces from both left and right).
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)