TAN WhoAMI

TAN WhoAMI

  • NA
  • 291
  • 0

substring of string array

Jun 16 2012 10:44 AM
I have string[] alldata which contains
-  alldata {string[28]} string[]
  [0] "1007,MR & MRS LEK TONY,2" string
  [1] "1009,CHIA LAI KUEN,1" string
  [2] "1010,MR & MRS FONG ALLAN,2" string
  [3] "1011,YEO PATRICK,1" string
  [4] "1012,KOCH MICHAEL & KOCH ANNETTE,2" string
  [5] "1013,GOH KHIM CHEOK,1" string
  [6] "1014,CHOO LAY TING,1" string
  [7] "1015,KWEK SWEE HOON,1" string
  [8] "1016,LIM LAY HUEY,1" string
  [9] "1017,YU GE,1" string
  [10] "1018,WANG JIXIA,1" string
  [11] "1019,DONG CHUNMEI,1" string
  [12] "1020,LIAW SIEW MEI,1" string
  [13] "1034,LIEW ADELINE,1" string
  [14] "1035,POH CHENG CHENG,1" string
  [15] "1036,NG JENNY,1" string
  [16] "1037,ONG BENJAMIN,1" string
  [17] "1038,TAN PENNY,1" string
  [18] "1039,TEO GIM WEE,1" string
  [19] "1040,CHUA SUE,1" string
  [20] "1041,SIOW ALBERT,1" string
  [21] "1042,HAH STEPHANIE,1" string
  [22] "1043,PANDEY SANJEEV KUMAR,1" string
  [23] "1021,WANG SHUANG,1" string
  [24] "1022,LIN XIANGFENG,1" string
  [25] "1023,LEONG SANDY,1" string
  [26] "1024,TAN YEAN PENG,1" string
  [27] "1025,TAM JERRY,1" string

How can I have string[] bardcode which contains those 4 digits numbers?
also how do I have string[] name for those names?

Answers (2)