Boop icon indicating copy to clipboard operation
Boop copied to clipboard

StartCase doesn't work with uppercase text

Open vwkd opened this issue 4 years ago • 2 comments

  1. Take "HELLO WORLD"
  2. Convert to StartCase
  3. Observe no effect
  4. Convert to Downcase
  5. Convert to StartCase
  6. Observe desired effect.

vwkd avatar Sep 22 '21 08:09 vwkd

You can create a custom script.

/**
	{
		"api":1,
		"name":"Start Case",
		"description":"Converts Your Text To Start Case.",
		"author":"Ivan",
		"icon":"type",
		"tags":"start,case,function,lodash"
	}
**/

const { startCase } = require('@boop/lodash.boop')

function main(input) {

	input.text = startCase(input.text.toLowerCase())

}

Lockyc avatar Nov 05 '21 01:11 Lockyc

Seeing this issue as well on Boop 1.4.0 on macOS Big Sur 11.6.

niekvandepas avatar Nov 09 '21 13:11 niekvandepas