stringutils

package
v0.0.46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseSubjectBody added in v0.0.9

func ParseSubjectBody(s string) (subject string, body string)

ParseSubjectBody parses the subject and body from a multiline string. The subject is the first line of the string, and the body is the rest. Newlines surrounding the body are trimmed.

func RemoveLines

func RemoveLines(s string, prefix string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL