What is the fastest way (fastest to execute) to parse the following String into a list of Integers values? I need the values that are specified between the # # marks.
"#1#+#2#+#3#*1.23+#4#/2+#5#" The above String should create a list of Integers:
- 1
- 2
- 3
- 4
- 5
Splitfunction. But to remove the special characters or just to get the numeric values you can use regex.