in reply to oneliner to count the number binary digits in this string 1011111

If you know that the string contains only binary digits, use length('1011111'). Use LanX's method if you wish to ignore non-binary characters.
Bill
  • Comment on Re: oneliner to count the number binary digits in this string 1011111
  • Download Code