05-16-2022
07:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
05-16-2022
07:49 AM
Here is another little bit of iLogic/vb.net code you might find useful/informational in a situation like this:
Dim oPN As String = "651-004-WA001"
Dim oLastPart As String = oPN.Split("-").Last
MsgBox("oLastPart = " & oLastPart, , "")
If oLastPart.StartsWith("WA") Then
MsgBox("oLastPart.StartsWith(""WA"") = True", , "")
Else
MsgBox("oLastPart.StartsWith(""WA"") = False", , "")
End If
Wesley Crihfield
(Not an Autodesk Employee)