-
Re: Importing Data - For example, importing an excel cell which contains "page 7", I only
Something like this (untested):
Dim strCellValue as String = myCell.Value.ToString().Replace("page ",
String.Empty)
or, since you problably want an integer, not a string:
Dim iCellValue as Integer = CType(myCell.Value.ToString().Replace("page ",
String.Empty), Integer)
Scott Hutchinson
s.c.o.t.t.h.u.t.c.h.i.n.s.o.n@usa.net
(to contact me, remove all dots left of @)
"Elmosca" <elmosca@terra.es> wrote in message news:3d98b92a@10.1.10.29...
> Hi, I'm newbie. My question is: how can I delete the first letters of a
> string I import (from an excel cell, for instance).
> For example, the cell contains "page 7". How can I import only the "7"
> deleting the first part ("page ")? Any ideas?
>
> TIA
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|