Re: String Manipulation
anonymous_at_discussions.microsoft.com
Date: 03/23/04
- Next message: Dirk Goldgar: "Re: can't find macro"
- Previous message: Dirk Goldgar: "Re: Export like a Save As"
- In reply to: Marshall Barton: "Re: String Manipulation"
- Next in thread: Marshall Barton: "Re: String Manipulation"
- Reply: Marshall Barton: "Re: String Manipulation"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 23 Mar 2004 12:57:23 -0800
Marsh,
Can I use this in a query to update a field on a table?
Thanks.
Melinda
>-----Original Message-----
>Melinda wrote:
>
>>I need to be able to strip off the non numeric
characters
>>from a string. For example, in the string "12345ABC", I
>>need to strip off the "ABC" and be left with
>>only "12345".
>
>Dim strNum As String
>Dim K as Integer
>For K = 1 to Len(yourstring)
> If Mid(yourstring, K, 1) Like "*[!0-9]*" Then
> Exit function
> End If
> strNum = strNum & Mid(yourstring, K, 1)
>Next K
>
>
>--
>Marsh
>MVP [MS Access]
>.
>
- Next message: Dirk Goldgar: "Re: can't find macro"
- Previous message: Dirk Goldgar: "Re: Export like a Save As"
- In reply to: Marshall Barton: "Re: String Manipulation"
- Next in thread: Marshall Barton: "Re: String Manipulation"
- Reply: Marshall Barton: "Re: String Manipulation"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|