String split not processing Regex pattern for splitting properly. · Issue #4022 · dart-lang/sdk · GitHub
![This is my code, I wanted to split the above string through +, -, /, and *. All works fine except it doesn't split by the '-' character. It outputs a list This is my code, I wanted to split the above string through +, -, /, and *. All works fine except it doesn't split by the '-' character. It outputs a list](https://i.redd.it/l84hf3i9khw41.jpg)
This is my code, I wanted to split the above string through +, -, /, and *. All works fine except it doesn't split by the '-' character. It outputs a list
![Exploring String methods in Dart. In my last article, I talked about… | by Darshan Kawar | Flutter Community | Medium Exploring String methods in Dart. In my last article, I talked about… | by Darshan Kawar | Flutter Community | Medium](https://miro.medium.com/v2/resize:fit:1000/1*AGfRqZ4qrgSkFpu1Aug3Dg.png)