O
ob_ghosh
Guest
thanx for all the help...but i have another slight problem.
i have used this expression to identify the last space in the description field
Expr1: IIf(Mid([description],Len([description])-1,1)=" ",1,IIf(Mid([description],Len([description])-2,1)=" ",2,3))
then i have managed to extract the charechters to the right of the last space using (ie the chars following the last space)
Expr2: Right([description],[expr1])
but now i require to extract the charechter immediately preceeding the last space, and then what remains i am required to put in the next field ( ie the 'description' without the chars immediately preceeding and the last space and following the last space)
so can anyone help me with the expressions
i have tried using mid and left rather unsuccessfully so if anyone could help
i have used this expression to identify the last space in the description field
Expr1: IIf(Mid([description],Len([description])-1,1)=" ",1,IIf(Mid([description],Len([description])-2,1)=" ",2,3))
then i have managed to extract the charechters to the right of the last space using (ie the chars following the last space)
Expr2: Right([description],[expr1])
but now i require to extract the charechter immediately preceeding the last space, and then what remains i am required to put in the next field ( ie the 'description' without the chars immediately preceeding and the last space and following the last space)
so can anyone help me with the expressions
i have tried using mid and left rather unsuccessfully so if anyone could help