Skip to main content

strings.LastIndexByte

Last index of byte

strings.LastIndexByte(s: string, c: byte) -> int

Arguments​

NameType
sstring
cbyte

Example​

{{ strings.LastIndexByte("hello", 108) }}

Returns 3.