Results 1 to 5 of 5
Thread: split Keyword
- 08-12-2008, 02:09 PM #1
Member
- Join Date
- Aug 2008
- Posts
- 1
- Rep Power
- 0
- 08-12-2008, 02:19 PM #2
Is there an escape char you can use?
YOU need to escape at two levels, once for the compiler and once for the regex.
- 08-13-2008, 08:47 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
This is possible,
As Norm says you have to deal with regular expressions as well.Java Code:text.split("\\.");
- 08-13-2008, 10:22 AM #4
Member
- Join Date
- Jul 2008
- Posts
- 35
- Rep Power
- 0
This applies to other symbols like ; or | if used in split() function.
New to Java/PHP/Javascript development?
For free help go to- www.techcubetalk.com
- 08-13-2008, 10:28 AM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Actually for any reg expression formatted well.
Similar Threads
-
How to split a String using split function
By Java Tip in forum java.langReplies: 4Last Post: 04-17-2009, 08:27 PM -
problem with split method
By abhiN in forum New To JavaReplies: 7Last Post: 02-10-2009, 01:54 PM -
how to split a file
By nagaraaju in forum New To JavaReplies: 0Last Post: 03-14-2008, 08:45 AM -
How to split a String using split function
By JavaBean in forum Java TipReplies: 0Last Post: 10-04-2007, 09:32 PM -
PDF Split and Merge 0.7 beta 1
By JavaBean in forum Java SoftwareReplies: 0Last Post: 06-24-2007, 08:46 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks