Contact Free trial Login


camelize(String): String

Returns a string in camel case based on underscores in the string.

All underscores are deleted, including any underscores at the beginning of the string.


Name Description


The string to convert to camel case.


This example converts a string that contains underscores to camel case.


%dw 2.0
import * from dw::core::Strings
output application/json
  "a" : camelize("customer_first_name"),
  "b" : camelize("_name_starts_with_underscore")


   "a": "customerFirstName",
   "b": "nameStartsWithUnderscore"

camelize(Null): Null

Helper function that allows camelize to work with null values.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.