Skip to content

v0.44.0

Latest
Compare
Choose a tag to compare
@kevin-lee kevin-lee released this 05 Nov 12:46
· 43 commits to main since this release
1f3269b

0.44.0 - 2023-11-05

New Features

  • [extras-string] Add extras.strings.syntax.all to have all strings syntax (#441)
    import extras.strings.syntax.all._
  • [extras-string] Add case conversion - string.toPascalCase (#443)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    "Abc".toPascalCase
    // Abc
    "AbcDefGhi".toPascalCase
    // AbcDefGhi
    "abcDefGhi".toPascalCase
    // AbcDefGhi
    "abc".toPascalCase
    // Abc
    "ABC".toPascalCase
    // Abc
    "abc_def_ghi".toPascalCase
    // AbcDefGhi
    "abc-def-ghi".toPascalCase
    // AbcDefGhi
    "abc def ghi".toPascalCase
    // AbcDefGhi
  • [extras-string] Add case conversion - string.toOnePascalCase (#455)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    "Abc".toOnePascalCase
    // Abc
    "AbcDef".toOnePascalCase
    // Abcdef
    "abcDef".toOnePascalCase
    // Abcdef
    "abc".toOnePascalCase
    // Abc
    "ABC".toOnePascalCase
    // Abc
  • [extras-string] Add case conversion - string.toCamelCase (#444)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    "Abc".toCamelCase
    // abc
    "AbcDefGhi".toCamelCase
    // abcDefGhi
    "abcDefGhi".toCamelCase
    // abcDefGhi
    "abc".toCamelCase
    // abc
    "ABC".toCamelCase
    // abc
    "abc_def_ghi".toCamelCase
    // abcDefGhi
    "abc-def-ghi".toCamelCase
    // abcDefGhi
    "abc def ghi".toCamelCase
    // abcDefGhi
  • [extras-string] Add case conversion - string.toSnakeCase (#445)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    "Abc".toSnakeCase
    // Abc
    "AbcDefGhi".toSnakeCase
    // Abc_Def_Ghi
    "abcDefGhi".toSnakeCase
    // abc_Def_Ghi
    "abc".toSnakeCase
    // abc
    "ABC".toSnakeCase
    // ABC
    "Abc_Def_Ghi".toSnakeCase
    // Abc_Def_Ghi
    "abc_def_ghi".toSnakeCase
    // abc_def_ghi
    "ABC_DEF_GHI".toSnakeCase
    // ABC_DEF_GHI
    "abc-def-ghi".toSnakeCase
    // abc_def_ghi
    "Abc-Def-Ghi".toSnakeCase
    // Abc_Def_Ghi
    "ABC-DEF-GHI".toSnakeCase
    // ABC_DEF_GHI
    "abc def ghi".toSnakeCase
    // abc_def_ghi
    "Abc Def Ghi".toSnakeCase
    // Abc_Def_Ghi
    "ABC DEF GHI".toSnakeCase
    // ABC_DEF_GHI
  • [extras-string] Add case conversion - string.toSnakeUpperCase (#465)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    "Abc".toSnakeUpperCase
    // ABC
    "AbcDefGhi".toSnakeUpperCase
    // ABC_DEF_GHI
    "abcDefGhi".toSnakeUpperCase
    // ABC_DEF_GHI
    "abc".toSnakeUpperCase
    // ABC
    "ABC".toSnakeUpperCase
    // ABC
    "Abc_Def_Ghi".toSnakeUpperCase
    // ABC_DEF_GHI
    "abc_def_ghi".toSnakeUpperCase
    // ABC_DEF_GHI
    "ABC_DEF_GHI".toSnakeUpperCase
    // ABC_DEF_GHI
    "abc-def-ghi".toSnakeUpperCase
    // ABC_DEF_GHI
    "Abc-Def-Ghi".toSnakeUpperCase
    // ABC_DEF_GHI
    "ABC-DEF-GHI".toSnakeUpperCase
    // ABC_DEF_GHI
    "abc def ghi".toSnakeUpperCase
    // ABC_DEF_GHI
    "Abc Def Ghi".toSnakeUpperCase
    // ABC_DEF_GHI
    "ABC DEF GHI".toSnakeUpperCase
    // ABC_DEF_GHI
  • [extras-string] Add case conversion - string.toSnakeLowerCase (#466)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    "Abc".toSnakeLowerCase
    // abc
    "AbcDefGhi".toSnakeLowerCase
    // abc_def_ghi
    "abcDefGhi".toSnakeLowerCase
    // abc_def_ghi
    "abc".toSnakeLowerCase
    // abc
    "ABC".toSnakeLowerCase
    // abc
    "Abc_Def_Ghi".toSnakeLowerCase
    // abc_def_ghi
    "abc_def_ghi".toSnakeLowerCase
    // abc_def_ghi
    "ABC_DEF_GHI".toSnakeLowerCase
    // abc_def_ghi
    "abc-def-ghi".toSnakeLowerCase
    // abc_def_ghi
    "Abc-Def-Ghi".toSnakeLowerCase
    // abc_def_ghi
    "ABC-DEF-GHI".toSnakeLowerCase
    // abc_def_ghi
    "abc def ghi".toSnakeLowerCase
    // abc_def_ghi
    "Abc Def Ghi".toSnakeLowerCase
    // abc_def_ghi
    "ABC DEF GHI".toSnakeLowerCase
    // abc_def_ghi
  • [extras-string] Add case conversion - string.toKebabCase (#446)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    "Abc".toKebabCase
    // Abc
    "AbcDefGhi".toKebabCase
    // Abc-Def-Ghi
    "abcDefGhi".toKebabCase
    // abc-Def-Ghi
    "abc".toKebabCase
    // abc
    "ABC".toKebabCase
    // ABC
    "Abc_Def_Ghi".toKebabCase
    // Abc-Def-Ghi
    "abc_def_ghi".toKebabCase
    // abc-def-ghi
    "ABC_DEF_GHI".toKebabCase
    // ABC-DEF-GHI
    "abc-def-ghi".toKebabCase
    // abc-def-ghi
    "Abc-Def-Ghi".toKebabCase
    // Abc-Def-Ghi
    "ABC-DEF-GHI".toKebabCase
    // ABC-DEF-GHI
    "abc def ghi".toKebabCase
    // abc-def-ghi
    "Abc Def Ghi".toKebabCase
    // Abc-Def-Ghi
    "ABC DEF GHI".toKebabCase
    // ABC-DEF-GHI
  • [extras-string] Add case conversion - string.toKebabUpperCase (#467)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    "Abc".toKebabUpperCase
    // ABC
    "AbcDefGhi".toKebabUpperCase
    // ABC-DEF-GHI
    "abcDefGhi".toKebabUpperCase
    // ABC-DEF-GHI
    "abc".toKebabUpperCase
    // ABC
    "ABC".toKebabUpperCase
    // ABC
    "Abc_Def_Ghi".toKebabUpperCase
    // ABC-DEF-GHI
    "abc_def_ghi".toKebabUpperCase
    // ABC-DEF-GHI
    "ABC_DEF_GHI".toKebabUpperCase
    // ABC-DEF-GHI
    "abc-def-ghi".toKebabUpperCase
    // ABC-DEF-GHI
    "Abc-Def-Ghi".toKebabUpperCase
    // ABC-DEF-GHI
    "ABC-DEF-GHI".toKebabUpperCase
    // ABC-DEF-GHI
    "abc def ghi".toKebabUpperCase
    // ABC-DEF-GHI
    "Abc Def Ghi".toKebabUpperCase
    // ABC-DEF-GHI
    "ABC DEF GHI".toKebabUpperCase
    // ABC-DEF-GHI
  • [extras-string] Add case conversion - string.toKebabLowerCase (#468)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    "Abc".toKebabLowerCase
    // abc
    "AbcDefGhi".toKebabLowerCase
    // abc-def-ghi
    "abcDefGhi".toKebabLowerCase
    // abc-def-ghi
    "abc".toKebabLowerCase
    // abc
    "ABC".toKebabLowerCase
    // abc
    "Abc_Def_Ghi".toKebabLowerCase
    // abc-def-ghi
    "abc_def_ghi".toKebabLowerCase
    // abc-def-ghi
    "ABC_DEF_GHI".toKebabLowerCase
    // abc-def-ghi
    "abc-def-ghi".toKebabLowerCase
    // abc-def-ghi
    "Abc-Def-Ghi".toKebabLowerCase
    // abc-def-ghi
    "ABC-DEF-GHI".toKebabLowerCase
    // abc-def-ghi
    "abc def ghi".toKebabLowerCase
    // abc-def-ghi
    "Abc Def Ghi".toKebabLowerCase
    // abc-def-ghi
    "ABC DEF GHI".toKebabLowerCase
    // abc-def-ghi
  • [extras-string] Add case conversion - Seq[String].mkPascalCaseString (#447)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    List("Abc", "Def").mkPascalCaseString
    // AbcDef
    List("AbcDef", "Ghi", "jkl", "MnoPqr").mkPascalCaseString
    // AbcDefGhiJklMnoPqr
    List("abcDef", "Ghi", "jkl", "MnoPqr").mkPascalCaseString
    // AbcDefGhiJklMnoPqr
    List("abc").mkPascalCaseString
    // Abc
    List("ABC").mkPascalCaseString
    // Abc
    List("Abc_Def_Ghi", "jkl_mno_Pqr").mkPascalCaseString
    // AbcDefGhiJklMnoPqr
    List("abc_def_ghi", "jkl_mno_pqr", "st_u").mkPascalCaseString
    // AbcDefGhiJklMnoPqrStU
    List("ABC_DEF_GHI", "JKL_MNO_PQR", "ST_U").mkPascalCaseString
    // AbcDefGhiJklMnoPqrStU
    List("Abc-Def-Ghi", "jkl-mno-Pqr").mkPascalCaseString
    // AbcDefGhiJklMnoPqr
    List("abc-def-ghi", "jkl-mno-pqr", "st-u").mkPascalCaseString
    // AbcDefGhiJklMnoPqrStU
    List("ABC-DEF-GHI", "JKL-MNO-PQR", "ST-U").mkPascalCaseString
    // AbcDefGhiJklMnoPqrStU
    List("Abc Def Ghi", "jkl mno Pqr").mkPascalCaseString
    // AbcDefGhiJklMnoPqr
    List("abc def ghi", "jkl mno pqr", "st u").mkPascalCaseString
    // AbcDefGhiJklMnoPqrStU
    List("ABC DEF GHI", "JKL MNO PQR", "ST U").mkPascalCaseString
    // AbcDefGhiJklMnoPqrStU
  • [extras-string] Add case conversion - Seq[String].mkCamelCaseString (#448)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    List("Abc", "Def").mkCamelCaseString
    // abcDef
    List("AbcDef", "Ghi", "jkl", "MnoPqr").mkCamelCaseString
    // abcDefGhiJklMnoPqr
    List("abcDef", "Ghi", "jkl", "MnoPqr").mkCamelCaseString
    // abcDefGhiJklMnoPqr
    List("abc").mkCamelCaseString
    // abc
    List("ABC").mkCamelCaseString
    // abc
    List("Abc_Def_Ghi", "jkl_mno_Pqr").mkCamelCaseString
    // abcDefGhiJklMnoPqr
    List("abc_def_ghi", "jkl_mno_pqr", "st_u").mkCamelCaseString
    // abcDefGhiJklMnoPqrStU
    List("ABC_DEF_GHI", "JKL_MNO_PQR", "ST_U").mkCamelCaseString
    // abcDefGhiJklMnoPqrStU
    List("Abc-Def-Ghi", "jkl-mno-Pqr").mkCamelCaseString
    // abcDefGhiJklMnoPqr
    List("abc-def-ghi", "jkl-mno-pqr", "st-u").mkCamelCaseString
    // abcDefGhiJklMnoPqrStU
    List("ABC-DEF-GHI", "JKL-MNO-PQR", "ST-U").mkCamelCaseString
    // abcDefGhiJklMnoPqrStU
    List("Abc Def Ghi", "jkl mno Pqr").mkCamelCaseString
    // abcDefGhiJklMnoPqr
    List("abc def ghi", "jkl mno pqr", "st u").mkCamelCaseString
    // abcDefGhiJklMnoPqrStU
    List("ABC DEF GHI", "JKL MNO PQR", "ST U").mkCamelCaseString
    // abcDefGhiJklMnoPqrStU
  • [extras-string] Add case conversion - Seq[String].mkSnakeCaseString (#449)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    List("Abc", "Def").mkSnakeCaseString
    // Abc_Def
    List("AbcDef", "Ghi", "jkl", "MnoPqr").mkSnakeCaseString
    // Abc_Def_Ghi_jkl_Mno_Pqr
    List("abcDef", "Ghi", "jkl", "MnoPqr").mkSnakeCaseString
    // abc_Def_Ghi_jkl_Mno_Pqr
    List("abc").mkSnakeCaseString
    // Abc
    List("ABC").mkSnakeCaseString
    // Abc
    List("Abc_Def_Ghi", "jkl_mno_Pqr").mkSnakeCaseString
    // Abc_Def_Ghi_jkl_mno_Pqr
    List("abc_def_ghi", "jkl_mno_pqr", "st_u").mkSnakeCaseString
    // abc_def_ghi_jkl_mno_pqr_st_u
    List("ABC_DEF_GHI", "JKL_MNO_PQR", "ST_U").mkSnakeCaseString
    // ABC_DEF_GHI_JKL_MNO_PQR_ST_U
    List("Abc-Def-Ghi", "jkl-mno-Pqr").mkSnakeCaseString
    // Abc_Def_Ghi_jkl_mno_Pqr
    List("abc-def-ghi", "jkl-mno-pqr", "st-u").mkSnakeCaseString
    // abc_def_ghi_jkl_mno_pqr_st_u
    List("ABC-DEF-GHI", "JKL-MNO-PQR", "ST-U").mkSnakeCaseString
    // ABC_DEF_GHI_JKL_MNO_PQR_ST_U
    List("Abc Def Ghi", "jkl mno Pqr").mkSnakeCaseString
    // Abc_Def_Ghi_jkl_mno_Pqr
    List("abc def ghi", "jkl mno pqr", "st u").mkSnakeCaseString
    // abc_def_ghi_jkl_mno_pqr_st_u
    List("ABC DEF GHI", "JKL MNO PQR", "ST U").mkSnakeCaseString
    // ABC_DEF_GHI_JKL_MNO_PQR_ST_U
  • [extras-string] Add case conversion - Seq[String].mkSnakeUpperCaseString (#478)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    List("Abc", "Def").mkSnakeUpperCaseString
    // ABC_DEF
    List("AbcDef", "Ghi", "jkl", "MnoPqr").mkSnakeUpperCaseString
    // ABC_DEF_GHI_JKL_MNO_PQR
    List("abcDef", "Ghi", "jkl", "MnoPqr").mkSnakeUpperCaseString
    // ABC_DEF_GHI_JKL_MNO_PQR
    List("abc").mkSnakeUpperCaseString
    // ABC
    List("ABC").mkSnakeUpperCaseString
    // ABC
    List("Abc_Def_Ghi", "jkl_mno_Pqr").mkSnakeUpperCaseString
    // ABC_DEF_GHI_JKL_MNO_PQR
    List("abc_def_ghi", "jkl_mno_pqr", "st_u").mkSnakeUpperCaseString
    // ABC_DEF_GHI_JKL_MNO_PQR_ST_U
    List("ABC_DEF_GHI", "JKL_MNO_PQR", "ST_U").mkSnakeUpperCaseString
    // ABC_DEF_GHI_JKL_MNO_PQR_ST_U
    List("Abc-Def-Ghi", "jkl-mno-Pqr").mkSnakeUpperCaseString
    // ABC_DEF_GHI_JKL_MNO_PQR
    List("abc-def-ghi", "jkl-mno-pqr", "st-u").mkSnakeUpperCaseString
    // ABC_DEF_GHI_JKL_MNO_PQR_ST_U
    List("ABC-DEF-GHI", "JKL-MNO-PQR", "ST-U").mkSnakeUpperCaseString
    // ABC_DEF_GHI_JKL_MNO_PQR_ST_U
    List("Abc Def Ghi", "jkl mno Pqr").mkSnakeUpperCaseString
    // ABC_DEF_GHI_JKL_MNO_PQR
    List("abc def ghi", "jkl mno pqr", "st u").mkSnakeUpperCaseString
    // ABC_DEF_GHI_JKL_MNO_PQR_ST_U
    List("ABC DEF GHI", "JKL MNO PQR", "ST U").mkSnakeUpperCaseString
    // ABC_DEF_GHI_JKL_MNO_PQR_ST_U
  • [extras-string] Add case conversion - Seq[String].mkSnakeLowerCaseString (#479)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    List("Abc", "Def").mkSnakeLowerCaseString
    // abc_def
    List("AbcDef", "Ghi", "jkl", "MnoPqr").mkSnakeLowerCaseString
    // abc_def_ghi_jkl_mno_pqr
    List("abcDef", "Ghi", "jkl", "MnoPqr").mkSnakeLowerCaseString
    // abc_def_ghi_jkl_mno_pqr
    List("abc").mkSnakeLowerCaseString
    // abc
    List("ABC").mkSnakeLowerCaseString
    // abc
    List("Abc_Def_Ghi", "jkl_mno_Pqr").mkSnakeLowerCaseString
    // abc_def_ghi_jkl_mno_pqr
    List("abc_def_ghi", "jkl_mno_pqr", "st_u").mkSnakeLowerCaseString
    // abc_def_ghi_jkl_mno_pqr_st_u
    List("ABC_DEF_GHI", "JKL_MNO_PQR", "ST_U").mkSnakeLowerCaseString
    // abc_def_ghi_jkl_mno_pqr_st_u
    List("Abc-Def-Ghi", "jkl-mno-Pqr").mkSnakeLowerCaseString
    // abc_def_ghi_jkl_mno_pqr
    List("abc-def-ghi", "jkl-mno-pqr", "st-u").mkSnakeLowerCaseString
    // abc_def_ghi_jkl_mno_pqr_st_u
    List("ABC-DEF-GHI", "JKL-MNO-PQR", "ST-U").mkSnakeLowerCaseString
    // abc_def_ghi_jkl_mno_pqr_st_u
    List("Abc Def Ghi", "jkl mno Pqr").mkSnakeLowerCaseString
    // abc_def_ghi_jkl_mno_pqr
    List("abc def ghi", "jkl mno pqr", "st u").mkSnakeLowerCaseString
    // abc_def_ghi_jkl_mno_pqr_st_u
    List("ABC DEF GHI", "JKL MNO PQR", "ST U").mkSnakeLowerCaseString
    // abc_def_ghi_jkl_mno_pqr_st_u
  • [extras-string] Add case conversion - Seq[String].mkKebabCaseString (#450)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    List("Abc", "Def").mkKebabCaseString
    // Abc-Def
    List("AbcDef", "Ghi", "jkl", "MnoPqr").mkKebabCaseString
    // Abc-Def-Ghi-jkl-Mno-Pqr
    List("abcDef", "Ghi", "jkl", "MnoPqr").mkKebabCaseString
    // abc-Def-Ghi-jkl-Mno-Pqr
    List("abc").mkKebabCaseString
    // Abc
    List("ABC").mkKebabCaseString
    // Abc
    List("Abc_Def_Ghi", "jkl_mno_Pqr").mkKebabCaseString
    // Abc-Def-Ghi-jkl-mno-Pqr
    List("abc_def_ghi", "jkl_mno_pqr", "st_u").mkKebabCaseString
    // abc-def-ghi-jkl-mno-pqr-st-u
    List("ABC_DEF_GHI", "JKL_MNO_PQR", "ST_U").mkKebabCaseString
    // ABC-DEF-GHI-JKL-MNO-PQR-ST-U
    List("Abc-Def-Ghi", "jkl-mno-Pqr").mkKebabCaseString
    // Abc-Def-Ghi-jkl-mno-Pqr
    List("abc-def-ghi", "jkl-mno-pqr", "st-u").mkKebabCaseString
    // abc-def-ghi-jkl-mno-pqr-st-u
    List("ABC-DEF-GHI", "JKL-MNO-PQR", "ST-U").mkKebabCaseString
    // ABC-DEF-GHI-JKL-MNO-PQR-ST-U
    List("Abc Def Ghi", "jkl mno Pqr").mkKebabCaseString
    // Abc-Def-Ghi-jkl-mno-Pqr
    List("abc def ghi", "jkl mno pqr", "st u").mkKebabCaseString
    // abc-def-ghi-jkl-mno-pqr-st-u
    List("ABC DEF GHI", "JKL MNO PQR", "ST U").mkKebabCaseString
    // ABC-DEF-GHI-JKL-MNO-PQR-ST-U
  • [extras-string] Add case conversion - Seq[String].mkKebabUpperCaseString (#480)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    List("Abc", "Def").mkKebabUpperCaseString
    // ABC-DEF
    List("AbcDef", "Ghi", "jkl", "MnoPqr").mkKebabUpperCaseString
    // ABC-DEF-GHI-JKL-MNO-PQR
    List("abcDef", "Ghi", "jkl", "MnoPqr").mkKebabUpperCaseString
    // ABC-DEF-GHI-JKL-MNO-PQR
    List("abc").mkKebabUpperCaseString
    // ABC
    List("ABC").mkKebabUpperCaseString
    // ABC
    List("Abc_Def_Ghi", "jkl_mno_Pqr").mkKebabUpperCaseString
    // ABC-DEF-GHI-JKL-MNO-PQR
    List("abc_def_ghi", "jkl_mno_pqr", "st_u").mkKebabUpperCaseString
    // ABC-DEF-GHI-JKL-MNO-PQR-ST-U
    List("ABC_DEF_GHI", "JKL_MNO_PQR", "ST_U").mkKebabUpperCaseString
    // ABC-DEF-GHI-JKL-MNO-PQR-ST-U
    List("Abc-Def-Ghi", "jkl-mno-Pqr").mkKebabUpperCaseString
    // ABC-DEF-GHI-JKL-MNO-PQR
    List("abc-def-ghi", "jkl-mno-pqr", "st-u").mkKebabUpperCaseString
    // ABC-DEF-GHI-JKL-MNO-PQR-ST-U
    List("ABC-DEF-GHI", "JKL-MNO-PQR", "ST-U").mkKebabUpperCaseString
    // ABC-DEF-GHI-JKL-MNO-PQR-ST-U
    List("Abc Def Ghi", "jkl mno Pqr").mkKebabUpperCaseString
    // ABC-DEF-GHI-JKL-MNO-PQR
    List("abc def ghi", "jkl mno pqr", "st u").mkKebabUpperCaseString
    // ABC-DEF-GHI-JKL-MNO-PQR-ST-U
    List("ABC DEF GHI", "JKL MNO PQR", "ST U").mkKebabUpperCaseString
    // ABC-DEF-GHI-JKL-MNO-PQR-ST-U
  • [extras-string] Add case conversion - Seq[String].mkKebabLowerCaseString (#481)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    List("Abc", "Def").mkKebabLowerCaseString
    // abc-def
    List("AbcDef", "Ghi", "jkl", "MnoPqr").mkKebabLowerCaseString
    // abc-def-ghi-jkl-mno-pqr
    List("abcDef", "Ghi", "jkl", "MnoPqr").mkKebabLowerCaseString
    // abc-def-ghi-jkl-mno-pqr
    List("abc").mkKebabLowerCaseString
    // abc
    List("ABC").mkKebabLowerCaseString
    // abc
    List("Abc_Def_Ghi", "jkl_mno_Pqr").mkKebabLowerCaseString
    // abc-def-ghi-jkl-mno-pqr
    List("abc_def_ghi", "jkl_mno_pqr", "st_u").mkKebabLowerCaseString
    // abc-def-ghi-jkl-mno-pqr-st-u
    List("ABC_DEF_GHI", "JKL_MNO_PQR", "ST_U").mkKebabLowerCaseString
    // abc-def-ghi-jkl-mno-pqr-st-u
    List("Abc-Def-Ghi", "jkl-mno-Pqr").mkKebabLowerCaseString
    // abc-def-ghi-jkl-mno-pqr
    List("abc-def-ghi", "jkl-mno-pqr", "st-u").mkKebabLowerCaseString
    // abc-def-ghi-jkl-mno-pqr-st-u
    List("ABC-DEF-GHI", "JKL-MNO-PQR", "ST-U").mkKebabLowerCaseString
    // abc-def-ghi-jkl-mno-pqr-st-u
    List("Abc Def Ghi", "jkl mno Pqr").mkKebabLowerCaseString
    // abc-def-ghi-jkl-mno-pqr
    List("abc def ghi", "jkl mno pqr", "st u").mkKebabLowerCaseString
    // abc-def-ghi-jkl-mno-pqr-st-u
    List("ABC DEF GHI", "JKL MNO PQR", "ST U").mkKebabLowerCaseString
    // abc-def-ghi-jkl-mno-pqr-st-u
  • [extras-string] Add String.splitByCase (#451)
    import extras.strings.syntax.cases._
    // or
    import extras.strings.syntax.all._
    "AbcDefGhijklMnop".splitByCase
    results in
    Vector("Abc", "Def", "Ghijkl", "Mnop")
    "abcDefGhijklMnop".splitByCase
    results in
    Vector("abc", "Def", "Ghijkl", "Mnop")