Top "Backslash" questions

The backslash character \ (not to be confused with slash /) is used in many languages to quote the next character, i.e. to make it lose its special meaning.

Different behaviours of treating \ (backslash) in the url by FireFox and Chrome

BACKGROUND According to my experience when my ubuntu workstation is configured on domain with active directory, the user name created …

css firefox url google-chrome backslash
Escape double and single backslashes in a string in Ruby

I'm trying to access a network path in my ruby script on a windows platform in a format like this. \\…

ruby-on-rails ruby escaping backslash
Backslashes in single quoted strings vs. double quoted strings

If I add a backslash+space to the start of double and single quoted strings, I get different results: "\ text" …

ruby string quotes literals backslash
mysql: replace \ (backslash) in strings

I am having the following problem: I have a table T which has a column Name with names. The names …

mysql replace backslash
How do I escape a series of backslashes in a bash printf?

The following script yielded an unexpected output: printf "escaped slash: \\ \n" printf "2 escaped slashes: \\\\ \n" printf "3 escaped slashes: \\\\\\ \n" printf "4 …

string bash escaping backslash
Converting backslashes into forward slashes using javascript does not work properly?

I have a javascript variable comming from legacy system with backslashes into forward slashes: '/46\465531_Thumbnail.jpg' and I am …

javascript backslash slash
Preserving backslashes in Perl strings

Is there a way in Perl to preserve and print all backslashes in a string variable? For example: $str = 'a\\…

perl backslash preserve
Swift - remove single backslash

this is maybe stupid question but I'm new to swift and i actually can't figure this out. I have API …

ios swift backslash
Why do backslashes appear twice?

When I create a string containing backslashes, they get duplicated: >>> my_string = "why\does\it\happen?" >&…

python string escaping backslash repr
Replacing double backslashes with single backslash

I have a string "\\u003c", which belongs to UTF-8 charset. I am unable to decode it to unicode because …

java string character-encoding replace backslash