stringutils

package
v0.0.0-...-6797358 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileNameAppend

func FileNameAppend(filename, subname string) string

FileNameAppend hello.jpg,_1 -> hello_1.jpg

func Ints

func Ints(ss []string) []int

func IntsDefault

func IntsDefault(s string, dv ...int) int

func ParseSize

func ParseSize(sizeStr string) ([]int, error)

ParseSize 200x300 -> [200,300],200->[200,200]

func ParseSizes

func ParseSizes(sizesStr string) ([][]int, error)

ParseSizes 600x800,200x300, -> [[600,800],[200,300]],200->[[200,200]]

func Strings

func Strings(ints []int) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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