Questions tagged as 'split'

0
answers

How to remove part of an array from a daughter window, opener?

I'm new to this, I do not understand why the pop method does not work on a parent window, I see in the console that the elements are deleted but the page should be refreshed, should not it? I do not know how to do this. I have several...
asked by 22.01.2018 / 13:24
1
answer

Separate chain with split and store the data only in necessary variables

I have the following code: String cadena=JTextField.getText(); String[] split=cadena.split("\s"); String p1=split[0]; String p2=split[1]; String p3=split[2]; As you can see, the code separates the string into 3 words that are stored in the...
asked by 10.12.2017 / 05:23
1
answer

Go from String to Float (Read well) [closed]

Good friends, I need to pass a string string to float in JAVA . The problem is that in the end, each string ends with units (volt,%, cm, m .. etc) example: Convert the String "0.22V" to float : 0.22 Thank you very much! PS: All the...
asked by 13.08.2017 / 18:53