Sha256: 1d0299e51b930d33e56f445b0c14b436276834f8c754860b0f5ef7d4b8e58fe7
Contents?: true
Size: 325 Bytes
Versions: 226
Compression:
Stored size: 325 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
226 entries across 226 versions & 1 rubygems