Text Data Calculation

Text_merge  report_generator 

Text Data Calculation

Example:

Calculate area of triangle

Text data calculation

Replace Procedures:

1. ctrl-o open source text file

2. ctrl-h open replace window

* set 'replace unit' to 'Line'

* set 'replace with pattern' to:

Area of triangle \($A,$B,$C\) is calc(sqrt($P*($P-$A)*($P-$B)*($P-$C)),'.2f')\n

* click 'Advanced' page, set 'Run following for each matched unit' to:

($A,$B,$C)=($match[1],$match[2],$match[3]);

$P=($A+$B+$C)/2;

3. click 'replace', done.

4. ctrl-s save to file.

Notes:

For batch replace files, please refer to Replace Pioneer help manual.


Other Examples of "Text data calculation"
How to calculate time difference of two adjacent and matched lines?
How to make a subtraction of the specified time string?
How to compare and get the difference between numbers of two file?
How to convert a duration of seconds to a time format?
How to multiply by 1.5 for all numbers with xr suffix?
How to decrease the first 4 digits in the beginning of each line by 1000?
How to merge text by first column and calculate average for rest columns?
How to divide by 10 for all numbers not less than 40?

Search all "Text data calculation" examples