11th Jun 2019, 5:49 AM
UraL
6 odpowiedzi
+ 5
But if "-" instead of "." then all good. Why?
11th Jun 2019, 7:28 AM
UraL
+ 5
From: https://stackoverflow.com/questions/7935858/the-split-method-in-java-does-not-work-on-a-dot java.lang.String.split splits on regular expressions, and . in a regular expression means "any character". Try temp.split("\\.")
11th Jun 2019, 7:38 AM
UraL
+ 5
Conclusion: for split use "\\." or "[.]"
11th Jun 2019, 6:21 PM
UraL
+ 4
Pawan thanx
11th Jun 2019, 6:16 PM
UraL
11th Jun 2019, 5:49 PM
P∆WAN M∆URY∆
P∆WAN M∆URY∆ - avatar
+ 2
Your welcome UraL
11th Jun 2019, 6:22 PM
P∆WAN M∆URY∆
P∆WAN M∆URY∆ - avatar