Reference Manual: Building Blocks  @@version_as_integer update

Release Bulletin Adaptive Server® Enterprise Version 12.5.2 for Linux

str_replace

The str_replace function now accepts NULL in the third parameter and treats it as an attempt to replace string_expression2 with NULL, effectively turning str_replace into a “string cut” operation.

For example, the following returns “abcghijklm”:

str_replace("abcdefghijklm", "def", NULL)




Copyright © 2005. Sybase Inc. All rights reserved. @@version_as_integer update

View this release bulletin as PDF