cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

JMP Library

Choose Language Hide Translation Bar
Character Strings

Some data are text that are represented by character strings. Character strings are delimited by double-quotation marks, and these delimiters are not part of the text. So, what if you need to include double quotation marks as part of your string value? To do that, each of the embedded quotation marks has to be preceded with the escape sequence of a backward slash and an exclamation point. This escape sequence tells JMP to treat the subsequent double quotation mark character like any other character, rather than as a delimiter. You also have to include this escape sequence before a variety of other special characters, like tabs, carriage returns, or unicode characters, for example. Now, be aware that when you use this escape sequence, if you display the character string in the JMP log, then the escape characters will display in the log as well. But you can use the Write function to display character values in the log without the escape characters, and that can be useful when you want to confirm that the character string will be displayed correctly. JMP has many functions for working with character strings. For example, there are functions that enable you to find or extract strings in text, concatenate or split strings, insert or remove strings in text, substitute strings in text, repeat, reverse, or shift strings, and change case.

Recommended Articles