Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to save the dynamic string into variables?
#2
Solved: 11 Years, 8 Months, 3 Weeks ago
Assuming that the string "The value of sum is" is not changing and just the number,please use mid function as shown below to extract the number from string
Code:
str="The value of sum is 88 77 88"
num=mid(str,20,len(str))
msgbox  num
Reply


Messages In This Thread
RE: How to save the dynamic string into variables? - by ravi.gajul - 04-18-2012, 09:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Replace a string in a word document with another string rekha.naik 8 15,992 11-14-2013, 12:58 PM
Last Post: pranikgarg
  where to declare variables?? ACCBAJPA 0 2,524 10-01-2013, 07:20 PM
Last Post: ACCBAJPA
  Save randomly generated string SomeIntern 1 2,488 08-27-2013, 12:36 AM
Last Post: SomeIntern
  Break up a string of text and variables csutter2002 3 3,950 03-20-2013, 06:58 AM
Last Post: basanth27
Question User-Defined Environment Variables vs. Global Variables vs. DataTable Values imzeeshan 0 3,211 11-16-2012, 01:51 AM
Last Post: imzeeshan

Forum Jump:


Users browsing this thread: 1 Guest(s)