|
-
Mar 4th, 2007, 04:04 AM
#3
Re: I want only 1 "," in a row of numbers
Hai,
What about this piece of code?
[vbcode]
Private Sub Command1_Click()
Dim strnumrow As String
Dim rslt As Integer
strnumrow = "1232,1213"
rslt = InStr(1, strnumrow, ",")
If rslt > 0 Then
MsgBox "found"
Else
MsgBox "not found"
End If
End Sub
[/vbcode]
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
|
Click Here to Expand Forum to Full Width
|