in reply to oneliner to count the number binary digits in this string 1011111
DB<34> p "1011111" =~ tr/01// 7
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: oneliner to count the number binary digits in this string 1011111
by Anonymous Monk on Mar 13, 2021 at 23:04 UTC | |
by LanX (Saint) on Mar 13, 2021 at 23:07 UTC |