Sha256: 411d0a3b52df7a53d9846923afec2769a0f0474edf3dad2acaf8e52af6e8cb55
Contents?: true
Size: 324 Bytes
Versions: 69
Compression:
Stored size: 324 Bytes
Contents
defmodule StringSeries do @doc """ Given a string `s` and a positive integer `size`, return all substrings of that size. If `size` is greater than the length of `s`, or less than 1, return an empty list. """ @spec slices(s :: String.t(), size :: integer) :: list(String.t()) def slices(_s, _size) do end end
Version data entries
69 entries across 69 versions & 1 rubygems