[development-axapta] isString

2004-02-16 Thread byteway_so
Is there a function to check if a given character is of some type? Here are two none working functions. What is the best way to do the check? private Boolean isString(str _value) { try { return (_value == Types::String); } catch { return false; } return true; } private Boolean

RE: [development-axapta] isString

2004-02-16 Thread Sergey Siroklin
typeOf (_value ) == Types::String - you should use this code -Original Message- From: byteway_so [mailto:[EMAIL PROTECTED] Sent: Mon 16.02.2004 15:40 To: [EMAIL PROTECTED] Cc: Subject: [development-axapta] isString Is there a function to check if a given character