View raw Markdown
type: fhirpath-functionfunction: unescapecategory: Additional String Functionssection: 5.7.4source: fhirpath/functions.json

FHIRPath Function: unescape

{:.stu}

The unescape function takes a singleton string and unescapes it for a given target. The available targets are specified in the escape function description. {:.stu}

If the input is empty, the result is empty. {:.stu}

If no target is specified, the result is empty. {:.stu}

Summary

Description

The unescape function takes a singleton string and unescapes it for a given target. Available targets are html and json.

Arguments

Type Mapping

Example

'\"test\"'.unescape('json') // returns '"test"'