Omgili - forum search, search forums  
  

Discussions about white space

Displaying 1 - 10 out of 113,653 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
Let's say I have a string such as: "Hello how are you doing?" I would like a function that turns multiple spaces into one space. So i would get: "Hello how are you doing?" I know I could use regex or call string s = "Hello how are you doing?".replace(...
Started by on , 10 posts by 9 people.  
Continue; } else....
Should all whitespace be converted to spaces? What should happen to space whitespace ignore it.
There's a difference between "space" and "whitespace, that's a different matter.
Isn't quite precise as it needs to be.
I want to print my output xml in a single line[when viewed in notepad or other simple text-editor], so as to remove the redundant white-space in my xml file. So which is the better method to follow for that ?? I think there are two options, 1) To use ...
Started by on , 3 posts by 3 people.  
What happens? No white-space-only nodes are processed-space....
That is, if the source XML document of preventing white-space-only nodes in the output.
The white-space-only text nodes from the source XML document.
What is the ruby function to remove all white spaces ? kinda like php's trim() ?
Started by on , 5 posts by 5 people.  
Your looking for strip " clean up my edges ".strip would return "clean... .
S = "I have white space".delete(' ') on the off chance you meant to ask for the function to remove white space from the beginning and end of a string ...
Ask your Facebook Friends
I can't find a way to make Vim show all white spaces as a character. All I found was about tabs, trailing spaces etc.
Started by on , 7 posts by 7 people.  
:) You could use :set list ....
Everything but a space will look different than its normal state, which means that if you still see a plain old space, it's really a plain old space.
Set list will show all whitespaces as a character.
I have a XML node with a value which is a white space. Example: <sampleNode> </sampleNode> I am using a Serializer to get the data from XML document to store it in an object. Now, the problem I am facing is: If the XML node value contains ...
Started by on , 4 posts by 4 people.  
The differentYou can use a CDATA placeholder in order to avoid the removal of the space: <sampleNode><.
See this MSDN article about Preserving White Space While Serializing.
WhitespaceHandling.All.
How to replace different/multiple chars with white space for each instance of character? characters to be replaced are \ / : * ? < > |
Started by on , 7 posts by 7 people.  
String.replace would....
:/ Look at the String API methods in C#.
System.Text.RegularExpressions.Regex.Replace(input, @"[\\/:*?<>|]", " ") Regex.Replace(@"my \ special / : string", @"[\\/:*?<>|]", " "); I might have some of the escapes wrong.. .
I'm parsing some html using regex and I want to match lines which start with a word without any html tags while also removing the white space. Using c# regex my first pattern was: pattern = @"^\s*([^<])"; which attempts to grab all the white space ...
Started by on , 5 posts by 5 people.  
There is no way a regular expression can....
Just use that.
Whatever your language/platform is you'll have a fully-functional HTML parser available .
It's a really bad idea and, at best, your code will be flaky .
Don't use regular expressions to parse HTML.
I am struggling to find this - I need to strip all empty lines which might have white space before them The alternative is messing about in Excel - I am using TextPad
Started by on , 5 posts by 5 people.  
white space is: ^[ \t]*$ According to this blog post on wordpress.com , it's ^[[:space:]]*$ Since.
Hello I have a XML doc that is transformed to HTML but I want the result HTML to be as small as possible. So I must remove all white spaces and line endings. How can I do that? 10x
Started by on , 6 posts by 6 people.  
You should be able to use strip-space : <xsl:strip-space elements="*"/> You should go with <xsl:strip-space elements="*"/> xsl:strip-space will let you strip out whitespace-of select="@value"/> 10x..this one....
Hello all, I am trying to check if a string has white space. I found this function but it doesn't seemt o be working: function hasWhiteSpace(s) { reWhiteSpace = new RegExp("/^\s+$/"); // Check for white space if (reWhiteSpace.test(s)) { //alert("Please...
Started by on , 4 posts by 4 people.  
Your logic.
) { return /\s/g.test(s); } This will also check for other white space characters like Tab.
Page: 1   2   3   4   5   6   7   8   9   10  
Related Searches
White Space    paint space marines white    search white space php    "white space" "    white space bottom of Firefox    show white spaces vim    get ride of white space    firefox white-space nowrap    "white space"    firefox white space bottom   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost