Convert Underscore to CamelCase.
Usage:
import { convertUnderToCamel } from "mazey";const ret1 = convertUnderToCamel("a_b_c");const ret2 = convertUnderToCamel("a_bb_cc");console.log(ret1, ret2); Copy
import { convertUnderToCamel } from "mazey";const ret1 = convertUnderToCamel("a_b_c");const ret2 = convertUnderToCamel("a_bb_cc");console.log(ret1, ret2);
Output:
aBC aBbCc Copy
aBC aBbCc
"a_bb_cc"
"aBbCc"
Convert Underscore to CamelCase.
Usage:
Output: