quotes Questions

2

In R, I have some rather unusually formatted strings in a data.frame column that I would like to split by commas (i.e., each element of the column is a string of individual values separated by comm...
Ectropion asked 23/9 at 13:29

2

Solved

I have this simple formula in Cell A1 =10*Round(B1/10,0) I know how to enter this in VBA, i simply write: Range("A1").Formula = "=10*Round(B1/10,0)" Now, what if I don't know ...
Sacrilegious asked 16/4, 2012 at 17:5

7

Solved

I've tried various forms of the following in a bash script: #!/bin/bash svn diff $@ --diff-cmd /usr/bin/diff -x "-y -w -p -W $COLUMNS" But I can't get the syntax to correctly expand the COLUMNS ...
Marella asked 8/5, 2009 at 15:57

15

Solved

I have a Windows batch file I'm creating, but I have to ECHO a large complex string, so I'm having to put double quotes on either end. The problem is that the quotes are also being ECHOed to the fi...
Behnken asked 29/4, 2009 at 22:56

6

Solved

What is the difference between backticks (``) & double quotes ("") in golang?
Ramiform asked 24/10, 2017 at 18:12

3

In the function below, when string in $keyword contains double quotes, it does create a "Warning: DOMXPath::evaluate(): Invalid expression": $keyword = 'This is "causing" an error'; $xPath->eva...
Vallee asked 27/1, 2011 at 18:3

4

Been searching here and google for over an hour, can't seem to find the answer to this. I have a string returned from a database query which contains variables, however it appears that these strin...
Divers asked 9/3, 2011 at 5:28

19

Solved

I know this (or similar) has been asked many times but having tried out numerous possibilities I've not been able to find a a regex that works 100%. I've got a CSV file and I'm trying to split it ...
Fostoria asked 9/8, 2013 at 10:14

14

Solved

I'm outputting values from a database (it isn't really open to public entry, but it is open to entry by a user at the company -- meaning, I'm not worried about XSS). I'm trying to output a tag lik...
Argueta asked 5/1, 2010 at 4:30

10

Solved

How can I get PHP to evaluate a static variable in double quotes? I want to do something like this: log("self::$CLASS $METHOD entering"); I've tried all sorts of {} combos to get the var...
Mulkey asked 12/8, 2009 at 15:53

6

Solved

Is there any shortcut or extension for vscode which can help to remove surrounded quotes (single ' or double " ) around a selected text? See example below 'hello' ==> hello In other words, is it...
Skippet asked 16/11, 2016 at 13:51

2

Solved

I have problem with quotes in markdown. when i have something like this: text > quoted text > > deeper layer > > > even deeper layer it works fine. but when there is a repl...
Soteriology asked 13/11, 2011 at 17:4

5

Solved

Often I find myself inverting quotes: from double quotes "" to single quotes '' and from single quotes '' to double quotes "". I know there is a way to switch single quotes to double quotes: :%s/'...
Reef asked 12/4, 2012 at 18:36

6

I'm trying to run a for loop over a list of strings where some of them are quoted and others are not like so: STRING='foo "bar_no_space" "baz with space"' for item in $STRING; do echo "$item" don...
Twombly asked 23/11, 2017 at 22:58

5

Solved

How can I properly escape a quote in a search string when using findstr.exe? Example: findstr /misc:"namespace=\"" *.cs > ns.txt This outputs to the console, instead of to the file I specifi...
Herzog asked 13/2, 2011 at 6:29

20

Solved

How do I insert a value in MySQL that consist of single or double quotes. i.e This is Ashok's Pen. The single quote will create problems. There might be other escape characters. How do you insert ...
Wifeless asked 20/5, 2009 at 9:28

40

Solved

Is there an easy way to run a MySQL query from the Linux command line and output the results in CSV format? Here's what I'm doing now: mysql -u uid -ppwd -D dbname << EOQ | sed -e 's/ /,/g' |...
Lilllie asked 10/12, 2008 at 15:59

11

When I execute a script in a Linux shell, I get this output: dquote> What does this mean?
Capper asked 2/4, 2013 at 20:0

10

How can I escape double quotes inside a double string in Bash? For example, in my shell script #!/bin/bash dbload="load data local infile \"'gfpoint.csv'\" into table $dbtable FIELDS TERMINATED ...
Apelles asked 30/9, 2010 at 21:5

1

Solved

I am trying to implement the function proposed by mklement0 on this answer My goal is to implement this as a reusable batch subfunction But before that I have run into a pattern of inconsistent beh...
Toratorah asked 18/4, 2023 at 2:39

5

Solved

EDIT: the command substitution is not necessary for the surprising behavior, although it is the most common use case. The same question applies to just echo "'!b'" b=a # Enable history substituti...
Sukhum asked 2/3, 2014 at 8:56

17

How do I get the substring " It's big \"problem " using a regular expression? s = ' function(){ return " It\'s big \"problem "; }';
Miserly asked 30/10, 2008 at 10:53

2

Solved

I have a system that is causing errors when users use a semicolon in a free format field. I have traced it down to a simple explode statement: $array = explode( ";", $sql ); Because this line is...
Blastocoel asked 26/6, 2014 at 5:50

5

Solved

I have variable var str as following: var str = <option value="1">tea</option>; I would like to make it as below var quote_str = '<option value="1">tea</option>;' Is t...
Hepner asked 28/5, 2012 at 15:57

11

Solved

I'm sure there used to be a plugin for this kinda stuff, but now that I need it, I can't seem to find it (naturally), so I'll just ask nice and simple. What is the easiest way to select between br...
Dirt asked 30/6, 2009 at 5:54

© 2022 - 2024 — McMap. All rights reserved.