In some languages (I mean persian or arabic) one character may has different shapes according to the next character. For example "به " and "ب ", in first one ب has one shape and in second another shape.
I need ب in its connected shape but no character must appear after it. I already test \phantom and some other tricks but none of them works.