firstLetterOfEachWord method
Implementation
String firstLetterOfEachWord({int limit = 0}) {
final words = splitWithMultipleDelimitersManual([" ", ".", ",", ":", "-", "_", "=", "+", "|", ";", "?", "(", ")"]);
final firstLetters = words.map((word) => word[0]).toList(); // Get first letter of each word
var stringNeeded = firstLetters.join('');
if (limit > 0) {
stringNeeded = stringNeeded.prefix(limit);
}
return stringNeeded;
}