--- title: "ConvertToText" slug: "converttotext" updated: 2024-05-04T19:25:52Z published: 2024-05-04T19:25:52Z canonical: "help.mail-and-deploy.com/converttotext" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mail-and-deploy.com/llms.txt > Use this file to discover all available pages before exploring further. # ConvertToText ### General The *ConvertToText* function can be used to convert a value to a [String](/release34/docs/string). ### Syntax The syntax of the *ConvertToText* function is: ConvertToText Function Syntax ConvertToText() ### Examples The following [Expression](/release34/docs/introduction-to-mail-and-deploy-expressions) returns the value of the variable *vTest* of [Datasource](/release34/docs/introduction-to-datasources) *MyDatasource* as [String](/release34/docs/string): ConvertToText Function Example ConvertToText([Datasource].[MyDatasources].[Variable].[vTest])