Revision 479 tmp/org.txm.groovy.core/src/groovy/org/txm/importer/transcriber/TranscriberTokenizer.groovy

TranscriberTokenizer.groovy (revision 479)
60 60
	{
61 61
		super(infile, outfile, null)
62 62
		txtname = infile.getName();
63
		int idx = txtname.indexOf(".")
63
		int idx = txtname.lastIndexOf(".")
64 64
		if (idx > 0) txtname = txtname.substring(0, idx);
65 65
	}
66 66
	
......
74 74
	{
75 75
		super(infile, outfile, lang)
76 76
		txtname = infile.getName();
77
		int idx = txtname.indexOf(".")
77
		int idx = txtname.lastIndexOf(".")
78 78
		if (idx > 0) txtname = txtname.substring(0, idx);
79 79
	}
80 80
	

Also available in: Unified diff