rm quote

From DavinciWiki
Jump to: navigation, search

Description

Remove quotes from a string or text array. This function is helpful for plotting as GnuPlot an become angry with quotes.

Arguments and Return Values

Arguments: accepts a string or text array

Return Value: a string or text array with all the quotation marks removed and replaced with nothing

Usage

Syntax: rm_quote(label_array = STRING/TEXT)

where:

label_array is an array of labels (assumed to be in y-axis)

Examples

dv> tmp
 Text Buffer with 3 lines of text
   1: Hi's
   2: Her's
   3: Mine's

dv> out=rm_quote(tmp)
Text Buffer with 3 lines of text
   1: Hi_s
   2: Her_s
   3: Mine_s
dv> out2=rm_quote("Hi\'|\"")
"Hi_|_"

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Major Sub-Functions

Related Functions

Recent Library Changes

Created On: 11-30-2010
Modified On: 11-30-2010

Personal tools