str = CreateObject ("roRegex", " " ", " ").ReplaceAll (str , " ")
chr(34)
"subhalaxmi" wrote:
Hello
How can I remove double quotes from my string.
For example I have a string "hello".
I want to display it as hello.How can I do it.
Can I do it like this.Or anything else.Suggest me.
str = CreateObject ("roRegex", " " ", " ").ReplaceAll (str , " ")
s = chr(34) + "hello" + chr(34)
s = """hello"""
s = s.Replace(chr(34), "")
s = s.Replace("""", "")
"RokuKC" wrote:
It can be done more simply.
Given:s = chr(34) + "hello" + chr(34)
or equivalently:s = """hello"""
You can do:s = s.Replace(chr(34), "")
or equivalently:s = s.Replace("""", "")
String Literals
Type String: String in quotes, e.g. "this is a string".
Note: The quotation mark character can be embedded in a string literal using two consecutive quotation marks.
E.g. s="""" : ? len(s), asc(s) outputs 1, 34.
This feature is available in firmware 6.2 or later.
"malort" wrote:
How safe is the second option? Are there any Roku's running firmware less than 6.2, other than classic models?
"malort" wrote:
How safe is the second option? Are there any Roku's running firmware less than 6.2, other than classic models?
"RokuKC" wrote:
All supported Roku retail products should be running firmware 6.2 or later. (This excludes legacy models running 3.x firmware).
"EnTerr" wrote:
What's the way to put a numeric value to that statement, RokuKC?
"RokuKC" wrote:
Unofficially, from the numbers I've seen for Roku retail products, for non-Roku TV platforms there is nearly 99% update to 7.0 firmware.
Roku TV products are mostly on 6.2 still.