docs.fs_cleanStringForHeader - FN

type: FN ( scalar function ), modify_date: 2021-12-03 18:34:30

RepoObject_guid: 7E9A07F7-C23C-EC11-852D-A81E8446D5B0

Description

Examples

Parameters

  • (nvarchar(4000))

  • @source_string (nvarchar(4000))

Entity Diagram

entity-docs.fs_cleanstringforheader

sql_modules_definition

docs.fs_cleanStringForHeader - FN script
CREATE Function [docs].[fs_cleanStringForHeader]
(
    @source_string NVarchar(4000)
)
Returns NVarchar(4000)
As
Begin
    Return Replace ( Replace ( Replace ( @source_string
    , '__', '++__++' )
    , '\', '{backslash}' )
    , ':', 'colon' )
End;