Ferry Huang
New Member
could anyone give example on how to define function with optional parameter?
for example TRIM function has optional parameter as below syntax
TRIM ( expression [ , trim-chars ] )
MESSAGE TRIM(" abc ").
MESSAGE TRIM("abca", "a").
above code will result in (without quotes)
"abc"
"bc"
thanks.
for example TRIM function has optional parameter as below syntax
TRIM ( expression [ , trim-chars ] )
MESSAGE TRIM(" abc ").
MESSAGE TRIM("abca", "a").
above code will result in (without quotes)
"abc"
"bc"
thanks.