Language:

IsGuid() mit ASP und VBScript

Language: Deutsch
Programming Language: VBScript
Published by: Thomas
Last Update: 4/27/2006
Views: 1005

Description

Überprüft ob ein String einer Guid entspricht.

Code

1 Function isGUID(strGUID) 2 dim regEx 3 set regEx = New RegExp 4 regEx.Pattern = Replace("########-####-####-####-############", "#", "[0-9,A-F]") 5 isGUID = regEx.Test(strGUID) 6 End Function

No comments avaiable

Add a comment

Name *  

Email (won't be displayed) *    

Website  

Comment *  

Sicherheitscode Security Code *    

RSS