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

Doc2Transcription.groovy (revision 479)
41 41
		
42 42
		// build text id
43 43
		String filename = txtfile.getName()
44
		int idx = filename.indexOf(".")
44
		int idx = filename.lastIndexOf(".")
45 45
		if(idx > 0)
46 46
			filename = filename.substring(0, idx)
47 47

  

Also available in: Unified diff