Skip to content

Instantly share code, notes, and snippets.

@mmahadevan-okta
Created December 18, 2013 22:09
Show Gist options
  • Save mmahadevan-okta/8030706 to your computer and use it in GitHub Desktop.
Save mmahadevan-okta/8030706 to your computer and use it in GitHub Desktop.
Expression Language examples
Use the following functions to apply basic transformations to the properties listed below.
f:toUpperCase(property)
f:toLowerCase(property)
f:substringBefore(property, searchString)
f:substringAfter(property, searchString)
f:replace(property, oldValue, newValue)
${f:toUpperCase(f:substring(user.firstName,0,1))}${f:toUpperCase(f:substring(user.lastName,0,1))}${f:toLowerCase(f:substring(user.lastName,1,99))}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment