proper, vproper

Declaration

cstring function proper(cstring S)

varchar function vproper(varchar S)

Description

Proper converts the first char of each word in string S to upper case.

Example Stored Procedure

CREATE PROCEDURE test_vproper(s varchar(30))

RETURNS (result char(30)) AS

BEGIN

result = vproper(s);

END!!

WISQL - calling the example stored procedure

execute procedure test_vproper("robert schieck");

RESULT

==============================

Robert Schieck

execute procedure test_vproper("MER systems inc.");

RESULT

==============================

MER Systems Inc.