|
What do you call the punctuation marks { and } ?
Braces? Curly brackets? Something else?
Started by TSomKes on
, 22 posts
by 20 people.
Answer Snippets (Read the full thread at stackoverflow):
I call are similar words, easily confused, and ....
They use trigraphs.
And yet Italian C-programmers exist.
On many SLR cameras they use not available on Italian keyboards.
I call them braces.
Personally, I call them "braces".
Like that.
|
|
For the hope-to-have-an-answer-in-30-seconds part of this question, I'm specifically looking for C#
But in the general case, what's the best way to strip punctuation in any language?
I should add: Ideally, the solutions won't require you to enumerate ...
Started by Tom Ritter on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
MyCharCollection....
Imagine is a regex.replace and have your regular expression with all the appropriate punctuation marks stripped = input.replaceAll("\\p{P}+", "");
The first version only looks at punctuation characters contained in ASCII.
|
|
I'm trying to split a string on its punctuation, but the string may contain URLs (which conveniently has all the typical punctuation marks).
I have a basic working knowledge of RegEx, but not enough to help me out here. This is what I was using when I...
Started by Magsol on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I don't know what your source text is like but that MIGHT be a reliable... .
Is there a pattern that your non-URL punctuation marks follow? In most English sentences, many punctuation marks are followed (or sometimes preceeded) by a space character.
|
Ask your Facebook Friends
|
The title says it all. How do I strip all punctuation from a string in vb.net? I really do not want to do stringname.Replace("$", "") for every single bit of punctuation, though it would work.
How do i do this quickly and efficiently?
Other than coding...
Started by Cyclone on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Dog!" Console.WriteLine(Regex.Replace(foo,"[!,.\"'?]+", String.Empty))
You can use a regular.
|
|
I'm trying to split a string up into words and punctuation, adding the punctuation to the list produced by the split.
For instance:
>>> c = "help, me" >>> print c.split() ['help,', 'me']
What I really want the list to look like is:
[...
Started by David A on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Anything not explicitely]
","
So if you want to add the "," you can just do it after each iteration when you use the array', 'a', 'string', "!"]
So, I....
punctuation marks you want to use in the right half of the regular expression.
|
|
This is not a programming question per se but a question about searching source code files, which help me in programming.
I use a search tool, X1, which quickly tells me which source code files contain some keywords I am looking for. However it doesn'...
Started by Abdu on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Moreover, you may need to use another tool to use these index, I use vim myself....
If you want to search code files efficiently for keywords and punctuation, consider the SD Source suited for a per project use in my opinion.
|
|
I have here a Windows Mobile-based PDA (Mobile Compia M3 Sky) equipped with a barcode scanner. This barcode scanner works by reading the data from the scanner into the Clipboard and then simulating a Paste on whatever application is currently running....
Started by Fritz H on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Although not really an answer to your question it would be a better solution since copy/paste over an RDP connection is known to be buggy (see these links: RDP Clipboard... .
I can only suggest a workaround of using Virtual Channels to send over the data.
|
|
Hello,
I'm preparing a function in PHP to automatically convert a string to be used as a filename in a URL (*.html). Although ASCII should be use to be on the safe side, for SEO needs I need to allow the filename to be in any language but I don't want...
Started by Roy Peleg on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I think that for SEO needs you.
Mess with you multi-byte characters - use mb_strtolower() instead.
|
|
I often need to list items separated by comma, space or punctuation, addresses are a classic example (This is overkill for an address and is for the sake of an example!):
echo "L$level, $unit/$num $street, $suburb, $state $postcode, $country."; //ouput...
Started by Peter on
, 9 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
For instance to filter out empty values), but if you can't use the array functions--for instance, when dealing, $state $postcode, $country).'.';
For your....
I always find that its both faster and easier to use the language's array methods.
|
|
What is the most efficient way of ignoring case, punctuation, and whitespace in strings? These strings should be divided into words instead of characters should ignore the aforementioned details on comparisons, and slices of these word-strings should ...
Started by Noctis Skytower on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Of having it old-style, and why you use such a contorted way to build __simple ), but internal.
|