// Trim applies whitespace trim mapping and returns optional with new value
Trim applies whitespace trim mapping and returns optional with new value
// Trim applies whitespace trim mapping and returns optional with new value
func (s String) Trim() String {
	if !s.IsPresent() {
		return s
	}
	return OfString(strings.TrimSpace(s.value))
}
func ( s String ) Trim ( ) String { if ! s . IsPresent ( ) { return s } return OfString ( strings . TrimSpace ( s . value ) ) }
Trim applies whitespace trim mapping and returns optional with new value
Trim applies whitespace trim mapping and returns optional with new value