Revision 479 tmp/org.txm.groovy.core/src/groovy/org/txm/importer/FortranColumns2XML.groovy

FortranColumns2XML.groovy (revision 479)
37 37
// 
38 38
// 
39 39
// 
40
// $LastChangedDate: 2016-12-16 17:28:35 +0100 (Fri, 16 Dec 2016) $
41
// $LastChangedRevision: 3377 $
40
// $LastChangedDate: 2017-04-11 15:30:35 +0200 (mar. 11 avril 2017) $
41
// $LastChangedRevision: 3426 $
42 42
// $LastChangedBy: mdecorde $ 
43 43
//
44 44
package org.txm.importer;
......
124 124
		
125 125
		textname = infile.getName();
126 126
		int idx = -1;
127
		idx = textname.indexOf(".");
127
		idx = textname.lastIndexOf(".");
128 128
		if (idx > 0)
129 129
			textname = textname.substring(0, idx);
130 130

  

Also available in: Unified diff