Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to separate a string
#3
Solved: 10 Years, 10 Months ago
Hi Linhke,

Check with the below example, it would give only the charcter string by ignoring Numericals.
Code:
Dim Str,temp,i,x
   Str="Ref1234"
   temp=""
   For i=1 to len(Str)
         x=mid(Str,i,1)
         If isnumeric(x)<>true Then
    temp=temp&x
         End If
   Next
   Str=temp
   msgbox Str
Reply


Messages In This Thread
How to separate a string - by linhke - 05-28-2010, 03:26 PM
RE: How to separate a string - by guin.anirban - 05-28-2010, 03:50 PM
RE: How to separate a string - by sreekanth chilam - 05-28-2010, 04:06 PM
RE: How to separate a string - by jsknight1969 - 06-04-2010, 01:35 AM
RE: How to separate a string - by basanth27 - 06-07-2010, 02:22 PM
RE: How to separate a string - by jsknight1969 - 06-07-2010, 10:54 PM
RE: How to separate a string - by basanth27 - 06-08-2010, 08:49 AM
RE: How to separate a string - by jsknight1969 - 06-09-2010, 12:46 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to have a variable that has a string comma string .. shareq1310 5 4,816 11-09-2011, 03:33 PM
Last Post: parminderdhiman84
  string function to get a letter from a string ajay.r1982 3 7,395 06-30-2009, 08:58 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)