tamaki.mes.utils.snakeToCamel
Description
Converts a snake_case string to camelCase. The string is split on underscores; the first segment
is kept as-is and each subsequent segment is capitalised, then all segments are joined together.
Syntax
tamaki.mes.utils.snakeToCamel(s)
Parameters
| Parameter | Type | Nullable | Description |
|---|---|---|---|
s | String | False | The snake_case string. |
Returns
A String in camelCase.
Code Examples
print(tamaki.mes.utils.snakeToCamel("production_order_name"))
# productionOrderName