【发布时间】:2014-05-07 04:25:55
【问题描述】:
如果我已经问了一个已经回答的问题,但我不确定作为初学者的最佳方法,请原谅我。
我有一个类似下面的字符串,转换这个字符串的最佳方法是什么,以便我只有双打 3.4134388041,0.63117288 等,而我丢弃其余的?
谢谢!
Shading:Building:Detailed,
39, !- Name
, !- Transmittance Schedule Name
4, !- Number of Vertices
3.4134388041, !- Vertex 1 X-coordinate {m}
0.63117288, !- Vertex 1 Y-coordinate {m}
2.2012378517, !- Vertex 1 Z-coordinate {m}
3.4134388041, !- Vertex 2 X-coordinate {m}
10.01517288, !- Vertex 2 Y-coordinate {m}
2.2012378517, !- Vertex 2 Z-coordinate {m}
2.9134388041, !- Vertex 3 X-coordinate {m}
10.01517288, !- Vertex 3 Y-coordinate {m}
2.2012378517, !- Vertex 3 Z-coordinate {m}
2.9134388041, !- Vertex 4 X-coordinate {m}
0.63117288, !- Vertex 4 Y-coordinate {m}
2.2012378517; !- Vertex 4 Z-coordinate {m}
【问题讨论】:
-
这可能取决于语言。