You need to escape the dot if you want to split on a literal dot: String extensionRemoved = filename.split("\.")[0];.
確定! 回上一頁