How to find out the regularly changing value in a single line?

How to find out the regularly changing value in a single line? Tell me How many ways are there?
Ex: India having 100 crore population now.
here 100 is changing regularly. How to write the Script for this?

Questions by Baleesh

Showing Answers 1 - 6 of 6 Answers

Rakesh Patwa

  • May 22nd, 2014
 

You need to process the string. In this case, you can could no. of text before particular text which you want to extract (in this case, its 100) and then can split the string by SPACE character and finally you will get the value.

There are other ways through we can get the exact value. Above method would be simplest one.

  Was this answer useful?  Yes

selva

  • Jun 6th, 2014
 

Use getROProperty. it is used to get the run time values

  Was this answer useful?  Yes

koti

  • Jul 17th, 2014
 

Code
  1. span style="color: #ff0000;">"India having 100 crore population now."

  Was this answer useful?  Yes

Divya

  • Mar 28th, 2016
 

Code
  1. span style="color: #ff0000;">"India having 100 crore population now."

  Was this answer useful?  Yes

Kishan

  • May 10th, 2016
 

Below is the correct program.

Code
  1. span style="color: #ff0000;">"India having 148 crore population now.""[0-9]"

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions