Replace Pioneer Home
All Examples
Free Download
all
Advanced search and replace
Replace text in multiple files
Regular expression replace
Batch file rename
Batch download
Text file parser
Text file splitter
Html text generator
Search replace binary
Random word generator
Count and statistics
Character encoding
Bin Hex Oct Dec converter
Text generator
Text sort
Text merge
Text data calculation
RSS: Replace Pioneer Examples
573.Text data calculation -- How to calculate the area automatically given a list of radius of a circle?
User:
editor -- 2010-07-26
<< 572
574 >>
Hits:
372
Type:
Text data calculation
Search all
Text data calculation
examples
Description:
How to calculate the area automatically given a list of radius of a circle?
Input Sample:
r=1.8
r=22.3
r=19.0
...
Output Sample:
r=1.8, s=3.24
r=22.3, s=497.29
r=19.0, s=361.00
...
Answer:
Hint: You need to
Download and install "Replace Pioneer"
on windows platform to finish following steps.
1. ctrl-o open the file that contain radius list
2. ctrl-h open 'replace' window
* in 'search for pattern', enter:
r=([\d\.]+)
* in 'replace with pattern', enter:
$match, s=calc($1*$1, ".2f")
3. click 'Replace',done!
4. ctrl-s save to file.
Screenshot 1: Replace_Window
Similar Examples:
How to calculate the summaries of every line in a txt file?
(56%)
How to calculate the area of triangles base on 3 sides automatically?
(54%)
Is there a way to automatically convert the currency in a text file to another?
(53%)
How to calculate the percentage of the number in the column1?
(52%)
How to calculate the summary of all numbers in multiple files?
(52%)
How to automatically generate all the date and time in a months by the interval of 30 minutes?
(51%)
How to generate IE favorite items from a list of url addresses?
(50%)
How to delete all the lines without ceramics in text file?
(50%)
Check Demo of
Text data calculation
Keywords:
given
calculate
automatically
automatic
automat
calculation
auto
calcu
ical
data
search calculate replace
search replace calculate
search file with list
replace with data
data replace
replace list
file list
search pattern