Element - ŀ
- Left Justify / Gridify / Infinite Replace / Collect until false
Characters:
ŀ
Description
Find one value inside another, starting from a certain index.
Overloads
num-num-num
-a <= c <= b
num-num-str
-a by b grid of c
num-str-num
-a by c grid of b
num-str-str
-b.ljust(a,filler=c)
str-num-num
-b by c grid of a
str-num-str
-a.ljust(c,filler=b)
str-str-num
-a.ljust(b,filler=c)
str-str-str
-a.infinite_replace(b, c)
fun-fun-any
-[c, a(c), a(a(c)), ...], stopping at the first element x such that b(x) is falsy
Examples
1 3 2 ŀ
=1
1 2 `a` ŀ
=`a a`
1 `a` 2 ŀ
=`a a`
`a` 1 2 ŀ
=`a a`
`` 1 2 ŀ
=` `
`vy` 5 `.` ŀ
=`vy...`
`vy` `.` 5 ŀ
=`vy...`
5 `vy` `.` ŀ
=`vy...`