split 1 string into 2
Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
2 posts
Page 1 of 1
hi, I have a string here which is suppose to be a mouse location coordinat:
225/118
I wanted to split it into x and y as the function only supports the following format :
225/118
I wanted to split it into x and y as the function only supports the following format :
Code: Select all
I'm using the "225/118" in a listbox to record the user's mouse position for every 10 seconds and I've made the listbox to scroll down automatically so when the listbox hits "225/118", it must point the cursor to it.Windows.Forms.Cursor.Position = New System.Drawing.Point(x, y)
Hi
Code: Select all
Windows.Forms.Cursor.Position = New System.Drawing.Point(listbox1.selecteditem.split("/")(0), Listbox1.selecteditem.split("/")(1))
2 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023