Extraction of two variable length float values from a string in java .“lat=22.3456&lon=54.1234”,the number of digits is not fixed always

前端 未结 0 1946
傲寒
傲寒 2021-02-15 04:35

I have a string which contains two float values which need to be extracted. I tried this

    String latlong=xbeeMessage.getDataString();
    Pattern pat=Pattern.c         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题