Ok, I've looked at the board and didn't find my issue, of course there are many ways to describe it, so I'll just do that and hope some one might know where to point me.
I need to strip a string and verify it meets a certain criteria....
Code:
$node = "L1A3456789"
$sAsset=SubStr($node,2,6)
Select
Case $sAsset >= "000001" AND $sAsset <= "999999"
? $sAsset
EndSelect
I want to make sure the first 6 'characters' are numbers only. Since there is no separator I can't use the split command so I am uncertain how to get this completed. Can someone help?
_________________________
penny = the target
the playing field = three football fields side by side
you = only allowed to stand on the outside of the playing field
tool you get to use to find the penny = a ONE INCH LAWN DART
get the level of difficulty?