10-16-2008, 12:05 AM
Yes, it's always good and easier for everyone when we have code in front of us.
This might help you:
This might help you:
Code:
x= """Ankur"""
y = Len(x)
z=mid(x,2, (y-2)) 'Remember: y-2 is the no of characters including and after the 2nd position
msgbox z
Want to fast track your QTP/UFT Learning? Join our UFT Training Course