StringExt extension
- on
Properties
-
firstOrNone
→ Option<
String> -
Available on String, provided by the StringExt extension
Returns the first character as a Some, or None if the string is empty.no setter -
lastOrNone
→ Option<
String> -
Available on String, provided by the StringExt extension
Returns the last character as a Some, or None if the string is empty.no setter -
noneIfEmpty
→ Option<
String> -
Available on String, provided by the StringExt extension
otherwise returns None.no setter