擅长:python、mysql、java
<p>如果所有行都相似,则可以拆分原始行并提取数字,如下所示:</p>
<pre><code>string = "Component Sizing Information, AirTerminal:SingleDuct:VAV:Reheat, SPACE2-1 VAV REHEAT, Design Size Maximum Flow per Zone Floor Area during Reheat [m3/s-m2], 1.31927E-003"
string = string.split(',') #split the string at commas
number = string[-1] #Extract the last number.
number = number.strip() #remove extra white spaces
</code></pre>