I've been reading other posts, but none of the solutions seem to work.
I have a variable myVar="blah blah blah" 
I want to remove the quotes so when I put the value into a field it is   blah blah blah.
I've tried 'filter myVar without quote' & the replace command. 
Does anyone have an idea?
Thanks!!!
			
			
									
									Filtering out quotes
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Filtering out quotes
Rob Glassman
ArkStar
						ArkStar
Re: Filtering out quotes
Hi Arkstar,
Something like the following script should allow you do strip the quotes from your variable
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
-
			
			
									
									
						Something like the following script should allow you do strip the quotes from your variable
Kind Regards,
delete char 1 of myVar
delete char -1 of myVar
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
-
Re: Filtering out quotes
Hi Robert,
hmm:
...
replace QUOTE with "" in myVar
...
works here for me!?
Gives me this in the message box:
"text"
text
Best
Klaus
			
			
									
									
						hmm:
...
replace QUOTE with "" in myVar
...
works here for me!?
Code: Select all
on mouseUp
  put QUOTE & "text" & QUOTE into tVar
  put tVar into tVar2
  replace QUOTE with "" in tVar2
  put tVar & CR & tvar2
end mouseUp"text"
text
Best
Klaus

