Working with Text in the Calculator
- Updated2024-09-12
- 1 minute(s) read
Mathematics > Working with Text in the Calculator
Working with Text in the Calculator
Use the Calculator to run operations on text. For example, to assign text to variables, determine the length of a text, read text from ASCII files, or delete parts of a text. To assign a text to a variable in the Calculator dialog box, complete the following steps:
Select the DIAdem ANALYSIS panel.
-
Click the Calculator.
Enter an assignment in the Formula entry field, for example:
T1 = "text"
If a text already includes quotation marks, enclose the entire text in single quotation marks and replace the quotation marks with two quotation marks, for example:
T1 = "text with ""quotation marks"""
![]() | Note Always enclose text in quotation marks. |
-
Click Calculate.
