getShortDesc method
- int maxSymbols
Gets string to set it as note description
Implementation
String getShortDesc(int maxSymbols) {
List<String> a = content.split("\n");
if (a.length > 1) {
return a[1].substring(0, min(a[1].length, maxSymbols));
} else
return "";
}