I want to insert some symbols in the middle of the word (particular place)
Eg:
PostFix(anyword)
i want to insert the hypen to Post-Fix
secondword to second-word(we already know that second and word two separate word)
please just me to solve this prob.
Loading
Pavi SPosted Mar 21, 2012, 7:23 AM
thanks but i want like this,but the belw code not working,
Mword.Selection.Text=sometext;
torepl='-';
wdl= Len(some)
If Len(Mword.Selection.Text) > 1 Then
Mword.Selection.MoveLeft(Unit:=Word.WdUnits.wdCharacter, Count:=1)
Mword.Selection.MoveLeft(Word.WdUnits.wdCharacter, CInt(wdl))
Mword.Selection.InsertAfter(torepl)
End If
my ouput
-----------
some-text
Gohil JayendrasinhPosted Mar 21, 2012, 7:05 AM
hi
It's simple
{string1 = string2 + separator + string1_part2;if it's helpful to you then please check Accepted Asnwers
Thanks