extract numbers from string
extract numbers from string
extract numbers from string
extract numbers from string
extract numbers from string
extract numbers from string extract numbers from string extract numbers from string extract numbers from string extract numbers from string extract numbers from string extract numbers from string
extract numbers from string extract numbers from string
extract numbers from string
General Topics include: .NET Framework
Note: Most posts can be categorized into one of the forums below, where experts on that topic will be able to help you find a solution to your problem faster and more efficiently.

Enjoy an ad free experience by logging in. Not a member yet? Register.
Go Back  Xtreme .NET Talk > > > extract numbers from string


Reply
 
Thread Tools Display Modes
  #1  
Old 07-05-2018, 08:35 PM
Amerigo Amerigo is offline
Newcomer
 
Join Date: Jul 2012
Posts: 13
Amerigo is on a distinguished road
Default extract numbers from string



So, I am saving movable control locations with:
Code:
My.Settings.ControlLocations.Add(Me.Name & "<X>" & Me.Location.X & "<Y>" & Me.Location.Y)
I am having issues with extracting the numbers later using split or substring.
Code:
Dim EX As String = itm.Substring(itm.IndexOf("<"c) + 1)
                        Dim Why As String = itm.Substring(itm.LastIndexOf("<"c) + 1)
I think once I have Ex and Why correctly, I can then do:
Code:
Dim Pt as point = new point(Cint(EX), Cint(Why))
Reply With Quote
Reply

Bookmarks

Tags
extracting, issues, itm.substringitm.indexof, split, string, extract

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to extract frames from gif aewarnick Graphics and Multimedia 6 01-23-2010 01:06 PM
To extract a string until it encounters a space after a specifies string from textf rahul_0716 General 1 05-09-2009 01:49 PM
How to extract string between "&quot;" StanONE Regular Expressions 5 02-26-2005 03:01 PM
Extract Number kservice Regular Expressions 4 08-16-2004 10:40 AM
DataReader + Get numbers of rows + retriev string from ranome row Andi03 Database / XML / Reporting 3 09-22-2003 04:49 PM

Advertisement:







Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
extract numbers from string
extract numbers from string
extract numbers from string extract numbers from string
extract numbers from string
extract numbers from string
extract numbers from string extract numbers from string extract numbers from string extract numbers from string extract numbers from string extract numbers from string extract numbers from string
extract numbers from string
extract numbers from string
 
extract numbers from string
extract numbers from string