[ Table Of Contents | Keyword Index ]

ns_paren(n) 4.99 "NaviServer Built-in Commands"

NAME

ns_paren - Surround string with parentheses

TABLE OF CONTENTS

    TABLE OF CONTENTS
    SYNOPSIS
    DESCRIPTION
    COMMANDS
    EXAMPLES

SYNOPSIS

ns_paren string

DESCRIPTION

This command returns string inside left and right parentheses, unless string is the empty string, for which an empty string is returned.

COMMANDS

ns_paren string

EXAMPLES

 
   % ns_paren "Hello World!"
   (Hello World!)