Omgili - forum search, search forums  
  

Discussions about new characters

Displaying 1 - 10 out of 235,694 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.
Apparently Java's Regex flavor counts Umlauts and other special characters as non-"word characters" when I use Regex. "TESTÜTEST".replaceAll( "\\W", "" ) returns "TESTTEST" for me. What I want is for only all truly non-"word characters" to be removed....
Started by on , 3 posts by 3 people.  
Use [^\p{L}\p{N}] - this matches all (Unicode) characters.
Result = new StringBuilder(); for(int i=0; i<name.length(); i++) { char tmpChar = name.charAt ); } } result ends up with the desired result...
So I have an ASP.Net (vb.net) application. It has a textbox and the user is pasting text from Microsoft Word into it. So things like the long dash (charcode 150) are coming through as input. Other examples would be the smart quotes or accented characters...
Started by on , 5 posts by 4 people.  
Which is not what the Text version to a non-unicode character set, you will lose....
But it converts all the accented characters to questions marks.
How big is the range of these input characters? 256? (each char fits into a single byte.
I'm looking for pseudocode, or sample code, to convert higher bit ascii characters (like, Ü which is extended ascii 154) into U (which is ascii 85). My initial guess is that since there are only about 25 ascii characters that are similar to 7bit ascii...
Started by on , 13 posts by 13 people.  
The upper 128 characters....
new_c = xlate[old_c to replace accented characters with standard ASCII, but it depends on the language, and it often it is.
Static const char xlate[256] = { ..., ['é'] = 'e', ..., ['Ü'] = 'U', .. .
Ask your Facebook Friends
Write a program that enters an array of characters from the user and reverses the sequence without creating a new array
Started by on , 4 posts by 4 people.  
Dont bother reversing the array in memory, just iterate over it backwards! Homework means pseudo-code... .
In pseudo-code: temp = a[0] a[0] = a[size - 1] a[size - 1] = temp and so on .
Swap the ends constantly, using a single variable as a temporary buffer .
I have a large block of text (200+ characters in a String) and need to insert new lines at the next space after 30 characters, to preserve words. Here is what I have now (NOT working): String rawInfo = front.getItemInfo(name); String info = ""; int begin...
Started by on , 5 posts by 5 people.  
A better solution: copy the string into a StringBuilder so that you can insert / change characters) { StringBuilder work = new StringBuilder(str); int pos = 0; while ((pos = work.indexOf(" ", pos + size quite sure if the number of characters....
Hi, Looks like a simple task - get a regex that tests a string for particular length: ^.{1,500}$ But if a string has "\r\n" than the above match always fails! How should the correct regex look like to accept new line characters as part of the string? ...
Started by on , 4 posts by 4 people.  
You could use the RegexOptions.Singleline option when.
characters they have left WHILE they are typing.
We're streaming a CSV file from a web service. It appears that we're losing the new line characters when streaming - the client gets the file all on a single line. Any idea what we're doing wrong? Code: public static void writeFile(OutputStream out, File...
Started by on , 8 posts by 8 people.  
PrintWriter out = new PrintWriter(new OutputStreamWriter(o)); BufferedReader input = new BufferedReader(new FileReader(file)); //File input stream String line; while ((line = input.readLine()) != null IOException { InputStream....
I would like to implement a text box with a 140 character limit in Javascript such that when the 141st character is added that character is erased. I don't want to show any message or alert to user they have exceeded the limit. There is already a counter...
Started by on , 9 posts by 9 people.  
It happening, if they type by looking at the keyboard They have to erase text before they can add new, more.
Ok, I have a csv file like this: 14 ; 1234,56 ; 10203 ; "ABC" ; "DFG" ; "Lorem \n ipsum \n dolor sit" \n 15 ; 234,16 ; 10204 ; "ABC" ; "DFG" ; "Lorem \n ipsum \n dolor sit" \n 16 ; 1234,15 ; 10304 ; "CCC" ; "DFG" ; "Lorem ipsum/dolor \n sit amet\consec...
Started by on , 5 posts by 5 people.  
So do you actually have the string '\n' (not a new line character) on some lines? If so, you just need to escape....
Will recognize the new line characters in the quotes as part of the field and not additional lines of data.
I'm working with an NSTextView and one of the requirements I have is that a tab character, '\t', shall have the same width as four spaces. So the text-content would look like this: AAAA AAAA - 1 tab AAAA - 4 spaces And this is how I accomplish this: /...
Started by on , 3 posts by 3 people.  
Have you tried to compute space advancement with advancementForGlyph: directly on the font instead of the screen font ? float charWidth = [myFont advancementForGlyph:(NSGlyph) ' '].width; Screen font are not meant to be used directly outside the window... .
Page: 1   2   3   4   5   6   7   8   9   10  
Related Searches
add new character to text file vb6    what race is the new GTA IV main character    new space marine characters    degrassi season 8 spoilers new characters    new space marines characters rules    new space marine special characters pictures   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost