The space character, `U+0020`, used to separate words/tokens in most natural and programming languages.
-1
votes
1answer
41 views
vim : Highlight tab with one color and spaces with another ?
How can I highlight tabs with one color and spaces with another in vim ?
I know how to highlight only tabs or only spaces. And I don't know how to select the colors separately for both spaces and ...
1
vote
1answer
6 views
Spaces in ActiveMQ AuthorizationEntry Group Names
I am trying to use the JaasAuthenticationPlugin to authenticate users trying to access specific queues. (Most of my code is based off of the examples given in ActiveMQ in Action)
Ultimately, I want ...
0
votes
1answer
11 views
Trim function does not remove spaces at end of a string while comparing two strings in vbs
I have a simple script which takes two strings and compare them. The first one has a space at the end and the second does not have that.
Function compare(str1,str2)
dim a
If ...
3
votes
2answers
60 views
find date and time in string and reformat removing spaces using sed in windows or cmd
I cannot figure out a good sed, regex, or windows cmd, or both, way to reformat lines in a csv file with a horrible datetime implementation to something usable:
Given:
Name,Equip1_SA-TEMP -- ...
0
votes
0answers
14 views
Eclipse “Correct Indentation” ignoring spaces vs. tabs setting
I'm running Eclipse Juno Service Release 2 (20130225-0426) in Windows and I'm finding that auto-indent (Ctrl-I) ignores both the General/Editors/Text Editors/Insert spaces for tabs and Java/Code ...
1
vote
1answer
28 views
BOURNE shell : Using environmental variable containing string with spaces as parameter for external exectuables — is it possible?
This is a generic question since the "problem" has arisen a number of times and I have never been able to get around it, and I wonder if it is in fact just not possible.
The matter concerns BOURNE ...
0
votes
1answer
27 views
Change <img> src Attribute with spaces in name
This seems like it should be simple, but it's proving to be a pain. How do you set the src of an image to a name containing spaces? I tried this way:
var newSrc = "images/" + ...
-11
votes
0answers
76 views
Python: can I disable intentation “feature” [closed]
Can anyone clue me up as to which config file or other dictionary contains the settings for the intentation feature of python?
I kind of need it turned off pronto as it keeps telling me my lines are ...
0
votes
1answer
38 views
Using Spaces in Powershell
Ive been working on this issue for 2 days now, and Im stumped. So I humbly come here hoping someone can help me out.
I am trying to write a powershell script that will setup Dell hardware to add an ...
0
votes
1answer
29 views
how to replace spaces inside doublequotes
I need to replace every spaces inside doublequotes in a variable:
VAR='"this is my problem" but not yours'
Now i have to replace the spaces (may be more than one in a row) in "this is my problem" ...
0
votes
2answers
13 views
Traverse files and replace all tabs to two spaces
I want to replace all tabs with 2 spaces in all files in my project directory.
Here is the code I have written but it is not working as expected.
Tabs are as it is in the files.
for i in *
do
sed ...
1
vote
1answer
31 views
Read Hierarchical text file with leading spaces for each field
I need to parse a text file that is Hierarchical with the number of leading spaces determining the depth of the property, and return set of java Objects for each level. I thought about using a scanner ...
1
vote
1answer
58 views
How can I advoice splitting integer?
I'm trying to add spaces between numbers but as result some numbers get split and other sometimes lost.
Code:
String line = "321HELLO how do you do? $ah213 -20d1001x";
line = ...
1
vote
2answers
52 views
Regex to match spaces except for spaces inside url pattern
Hi I'm new to regex and I am trying to use this to catch spaces \s{2,} in the junk but NOT including the spaces inside the "url":"https://x.com/a/C25/XPS - Connection - May 2013.docx". Currently, I ...
0
votes
2answers
49 views
C++: Spaces in strings prevent me from comparing cin input.
(Sorry, I know this question has been asked [and answered] before, but none of the solutions worked for me, because something about the way my code is set up is wonky and I have no idea which part ...