The space character, `U+0020`, used to separate words/tokens in most natural and programming languages.
-1
votes
0answers
22 views
Issue in printing the word file with space character ( ) instead it was printing  character [closed]
We are converting a html file input data to word document. In the browser output we were able to see the space but in the downloaded word document we are seeing a special character  instead of a ...
1
vote
1answer
48 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
42 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
34 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 ...
0
votes
0answers
16 views
Nginx and rewrite redirection issue
I need some help with this issue. When i type a search on my site, with a single word the url is redirecting correctly but if i search 2 or more words the url is not rewrited and this is because my ...
-4
votes
1answer
37 views
Getline Not Working With Spaces [closed]
when i try to read a full name with cin.getline() the string is cuted after the first space if i write Ray William it just takes " William" withi the space, any idea?
string var;
cout ...
2
votes
5answers
120 views
Length of string WITHOUT spaces (C#)
Quick little question...
I need to count the length of a string, but WITHOUT the spaces inside of it.
E.g. for a string like "I am Bob", string.Length would return 8 (6 letters + 2 spaces).
I need a ...
0
votes
0answers
13 views
Missing $ inserted - did I make something wrong? [migrated]
Im writing a paper using Latex and I get repeatedly this "! Missing $ inserted. $ l.92 ?" error. Its only in two passages and I don't see any obvious mistake I made. The code is:
...
1
vote
1answer
30 views
How do I keep my paragraphs seperate?
I am writing a word limit function for my custom blog. I want to limit the words on the index page and remove any formatting. At the moment my code is:
function limit_words($string, $word_limit){
...
1
vote
3answers
50 views
Spaces in links using perl and html
I have a problem with spaces using perl. I'm taking my informations from a db and I'm using them for a query string, but if there is a space, I can't validate my page.
<a href="fish.cgi?fish=White ...
0
votes
0answers
6 views
I want to set @" A " as the text in a UILabel. When I do so, the spaces get trimmed. How do I prevent this?
[answerBox1 setText:@" A. "];
The text is the textbox is just displayed as 'A'.
How do I get about this?
0
votes
1answer
23 views
Replace spaces in URL after #
I have a database dump from Wordpress that has url's with spaces that I need to remove the spaces from. I thought this would be a lot simpler of a task. This is the expression to match the bad href's
...
1
vote
0answers
105 views
Issue with Spaces in UserContainer LDAP string for Forms Based Authentication in SharePoint 2013
Steps:
Web Application was created with Claims Authentication using Windows NTLM Authentication
FBA (Forms Based Authentication) was enabled post app creation
Was able to set up Forms ...
1
vote
3answers
47 views
Removing spaces from a variable in batch
I am writing a file to remove spaces from filenames in a folder and then put the result in a .txt file. I just get a result of "Echo is on." over and over.
This is what I have so far:
@echo ON
...
0
votes
5answers
81 views
Delete a space from a string [duplicate]
I tried to write a function that get a string with spaces and returns the string without the spaces.
for example:
str = " a f ";
will be replaced to "af";
my function doesn't work, it ...