How to Create Custom Function in BODS?
Hi,
I'm a newbie to Data Services and want to create a custom function for to check for special characters in a string. But I'm having difficulties to come up with the design, can someone please guide me in the right direction?
Please follow the steps below in order to create custom functions for checking special characters in a string:
$Len = length( $InputParameter );
$Check = match_regex( $InputParameter , '[alnum]{' || $Len || '}' , 'CASE_INSENSITIVE' );
Return $Check