string-parsing
Extract part of file name using KornShell
I have a file name, for example: xxdatafile_20110120123030_12342.dat. I want to extract \"XXdatafile_\" from the file name.[详细]
2023-02-06 11:39 分类:问答Long.parseLong("digitstring too significant") produces java.lang.NumberFormatException
I get开发者_开发技巧 ajava.lang.NumberFormatException: For input string: \"1.7023484830876092\"[详细]
2023-02-04 20:50 分类:问答Java, How to Instance HttpCookie from a String, any convenient ways?
I have got a cookie string from HTTP response header like the following line: name=value; path=/; domain=.g.cn; expire=...[详细]
2023-02-01 05:01 分类:问答Find URLs in .NET?
Given a list of strings, I\'m interested in finding which ones are valid http:// URLs. My first approach would be to use a regex and do something like this:[详细]
2023-02-01 04:22 分类:问答Can access the Parse methods for a given type based on an instance of Type in C#?
I\'m using a DataTable and assigning columns different types. I have a scenario where I\'m receiving String data and I want to parse it based on the column\'s assigned type, but I can\'t figure out ho[详细]
2023-01-31 15:32 分类:问答Problem trying to extract words from string in PHP
I\'m trying to extract all words from a string into an array, but i am having some problems with spaces ( ).[详细]
2023-01-30 12:16 分类:问答How to parse through string containing url changing them to proper links
Let\'s say I have a following string from twitter: \"This is my sample test blah blah http://t.co/pE6JSwG, hello all\"[详细]
2023-01-28 22:08 分类:问答RegExpr in C# for get value
I have any text in C#, and I need \"match\" using Regular Expressions, and get a value (parsing the text for get the value).[详细]
2023-01-27 14:53 分类:问答Big Decimal parsing problem
I am facing problem in big decimal 开发者_StackOverflow社区no. Following code snippet will explain my problem:[详细]
2023-01-27 14:08 分类:问答StreamTokenizer splits up 001_to_003 into two tokens; how can I prevent it from doing so?
Java\'s StreamTokenizer seems to be too greedy in identifying numbers. It is relatively light on configuration options, and I haven\'t found a way to make it do what I want. The following test passes,[详细]
2023-01-25 08:27 分类:问答