Chatta subito con l'assistenza
Chat con il supporto

Privilege Manager for Unix 7.1 - Administration Guide

Introducing Privilege Manager for Unix Planning Deployment Installation and Configuration Upgrade Privilege Manager for Unix System Administration Managing Security Policy The Privilege Manager for Unix Security Policy Advanced Privilege Manager for Unix Configuration Administering Log and Keystroke Files InTrust Plug-in for Privilege Manager for Unix Troubleshooting Privilege Manager for Unix Policy File Components Privilege Manager for Unix Variables
Variable names Variable scope Global input variables Global output variables Global event log variables PM settings variables
Privilege Manager for Unix Flow Control Statements Privilege Manager for Unix Built-in Functions and Procedures
Environment functions Hash table functions Input and output functions LDAP functions LDAP API example List functions Miscellaneous functions Password functions Remote access functions String functions User information functions Authentication Services functions
Privilege Manager for Unix programs Installation Packages

strlen

Syntax
int strlen( string str )
Description

strlen returns the length of the string, str.

Example
printf("%d\n",strlen("foo"));

Returns: 3

Related Topics

strindex

strsub

Syntax
string strsub ( string str, int start, int length )
Description

strsub returns the substring of a given length starting at a given position in the string.

Example
printf("%s\n",strsub("xxxfooxxx",3,3))

Returns "foo".

printf(%s\n",strsub(xxxfooxxx",3,-1))

-1 returns the remainder of the string, "fooxxx".

sub

Syntax
int sub ( string <regexp> string replacement string sourcestring string count )
Description

sub returns a new string from the sourcestring argument with the specified regular expression regexp replaced with the string specified in the replacement argument.

Example
result = sub("0x[[:xdigit:]]*:,"hex","These are numbers: 0xA8D, 0x34");

subst

Syntax
string subst ( string str, string pattern, string replacement )
Description

subst substitutes part of a string with another string.

Example
print(subst("xxxonexxx","one","two"));

Returns: "xxxtwoxxx"

Related Documents

The document was helpful.

Seleziona valutazione

I easily found the information I needed.

Seleziona valutazione