Maybe there was already an answer to a similar question here, but I didn't find it..
Please tell me how I can get the numbers after ":"
"vpn479496593.opengw.net:1890","vpn385535826.opengw.net:1829","vpn834141580.opengw.net:1451",
wow! how to remove numbers after ":"?
best!
the option from this topic https://community.appinventor.mit.edu/t/please-tell-me-how-to-get-these-numbers/144940 did not help me, the answer duplicates the result, and does not respond to the pressed position, it gives completely different data.
these blocks are very good, they cut the text and delete everything before ":" please help me change these blocks so that everything after ":" works
Your global variable servers is created as a piece of text, but you try to apply list blocks (select from list) to it.
If you want to create a list, use the make a list or create list blocks.
Assuming you actually had a list of URLs with port numbers, did you want just a list of the port numbers?
Sorry, what was wrong with my solution ? (other than not using the fancy list blocks). It returned two lists, one for the port numbers, the other for the urls.
in response, 2 addresses were shown for me with your blocks..
The operation add items to list cannot accept the arguments: , [empty-string], [1396 public-vpn-76.opengw.net vpn678422214.opengw.net]
shiw your block, what did you get? So that we can help better. Didnt that trick work? Split text at :?
You might need to tidy up your input data?
Show what your input data actually is...
Nice to see you are using Kodular, you are asking on the wrong community...
Will will persist.
What is the value of the variable "position" ? It should be 1.
Are you certain the variable global SERVERS is a list, not just a string with square brackets at either end ?
These blocks are working fine for me: