extention property
String
get
extention
from string apple.txt returm txt
Implementation
String get extention {
List<String> dd = split(".");
if (dd.length >= 2) {
return dd.last;
}
return "";
}