Skip to content

Latest commit

 

History

History
65 lines (54 loc) · 1.18 KB

File metadata and controls

65 lines (54 loc) · 1.18 KB

UprString

Description

Procedure UprString converts all characters in the specified string to upper case.

PROCEDURE UprString(VAR str : DYNARRAY[] of CHAR);
def vs.UprString(str):
    return str

Parameters

Name Type Description
str DYNARRAY[] of CHAR Source string.

Examples

VectorScript

revisedString := 'vectorworks';
UprString(revisedString);
{Sets revisedString equal to 'VECTORWORKS'}

Python

BEGIN
	GetResourceString( gLocTrue, 2103, 6 );
	GetResourceString( glocFalse, 2103, 7 );
	UprString( gLocTrue  );
	UprString( gLocFalse );
END;

lenFind := Len(FStr);
tempstr := str;
IF ((lenFind > 0) & (lenStr > 0)) THEN BEGIN
	IF NOT(caseSens) THEN BEGIN
		UprString(tempstr);UprString(FStr);
		END;

IF (recHandle <> NIL) THEN
	FOR i := 1 TO numfields(recHandle) DO BEGIN
	tmpinput := fldname;
	tmpstr := getfldname(recHandle, i);
	Uprstring(tmpstr);
	Uprstring(tmpinput);
	IF (tmpstr = tmpinput) THEN GoodFldName := TRUE;
END;
def UCase( str ):
	result = vs.UprString( str )

Version

Availability: from All Versions

Category