Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
extracting value from variable
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
Yes, it's always good and easier for everyone when we have code in front of us.

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
Reply


Messages In This Thread
extracting value from variable - by be_sure - 10-15-2008, 05:55 PM
RE: extracting value from variable - by somisays - 10-15-2008, 06:44 PM
RE: extracting value from variable - by be_sure - 10-15-2008, 06:58 PM
RE: extracting value from variable - by Ankur - 10-16-2008, 12:05 AM
RE: extracting value from variable - by be_sure - 10-21-2008, 01:28 AM
RE: extracting value from variable - by satyadon - 10-21-2008, 11:18 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)