Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to parse this string ?  RSS feed

 
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for example, I have a line of String, I know the format is

char from 0 - 40 is ID;
char from 41 - 50 is Name;
....

how to parse this string ?

Thanks.
 
Rancher
Posts: 1369
1
Android Eclipse IDE Java
 
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And if you match some specific patterns then read this link Regex pattern will help you.

Read this Regex Pattern
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!