[android-components](../../index.md) / [mozilla.components.lib.jexl.ext](../index.md) / [kotlin.String](index.md) / [toJexl](./to-jexl.md)

# toJexl

`fun `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`.toJexl(): `[`JexlString`](../../mozilla.components.lib.jexl.value/-jexl-string/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/lib/jexl/src/main/java/mozilla/components/lib/jexl/ext/JexlExtensions.kt#L28)