Trim all lines within a string and keep it a string.
import {trimLines} from '@augment-vir/common';const result = trimLines(' hi \n bye \n\n abc'); // 'hi\nbye\nabc' Copy
import {trimLines} from '@augment-vir/common';const result = trimLines(' hi \n bye \n\n abc'); // 'hi\nbye\nabc'
@augment-vir/common
Trim all lines within a string and keep it a string.