Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am trying get the frequency from the file name PMS.TDWCPMC.D190402.T1821273 - W (for Weekly).
I am getting the file name using ((String)globalMap.get("tFileList_1_CURRENT_FILE")).
So If I want to extract the frequency from the file name, I try this :
StringUtils.substring(((String)globalMap.get("tFileList_1_CURRENT_FILE")),6,7)
but I am getting this error "Exception in thread "main" java.lang.Error: Unresolved compilation problem: "
Any help would be appreciated.