home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 2
/
DATAFILE_PDCD2.iso
/
commercial
/
pipedream
/
documents
/
functions
/
string
< prev
next >
Wrap
Text File
|
1992-01-08
|
3KB
|
172 lines
%OP%VS4.12 Test (Dec 12 1991), Colton Software - Development, R0123 4567 8901 2345
%OP%DP0
%OP%LP*
%OP%TM4
%OP%BM4
%OP%LM5
%OP%FX
%OP%FY
%OP%FS
%OP%WC2,1750,528,1364,0,0,0,0
%CO:A,9,100%
%C%%H1%String Functions Examples
%C%Function
Char
Code
Exact
Find
Join
Left
Length
Lower
Mid
Proper
Replace
Rept
Reverse
Right
String
Trim
Upper
Value
%CO:B,22,0%
%C%Input 1
%V%%C%65
%V%%C%F6
%C%PipeDream
%C%nt
%C%Colton
%C%Colton Software
%C%Exponential
%C%CoMPlicAtED
%C%Corresponding
%C%this is a TITLE
%C%Password : Secret
%C%Can
%C%Not a Palindrome
%C%Colton Software
%V%%C%65454
%V%%C%" Lots of space "
%C%jUSt liKe tHAt
%C%1000
%CO:C,10,0%
%C%Input 2
%C%-
%C%-
%C%PipeDream
%C%Ancient
%C%Software
%V%%C%6
%C%-
%C% -
%V%%C%4
%C%-
%V%%C%12
%V%%C%2
%C%-
%V%%C%9
%V%%C%0
%C%-
%C%-
%C%-
%CO:D,8,0%
%C%Input 3
%C%-
%C%-
%C%-
%V%%C%1
%C%-
%C%-
%C%-
%C%-
%V%%C%7
%C%-
%V%%C%6
%C%-
%C%-
%C%-
%C%-
%C%-
%C%-
%C%-
%CO:E,12,0%
%C%Input 4
%C% -
%C% -
%C% -
%C% -
%C%-
%C% -
%C% -
%C% -
%C% -
%C% -
%C%n/a
%C% -
%C% -
%C% -
%C% -
%C% -
%C% -
%C%-
%CO:F,16,0%
%C%Output
%V%%C%char(B6)
%V%%C%code(B7)
%V%%C%exact(B8,C8)
%V%%C%find(B9,C9,D9)
%V%%C%join(B10,C10)
%V%%C%left(B11,C11)
%V%%C%length(B12)
%V%%C%lower(B13)
%V%%C%mid(B14,C14,D14)
%V%%C%proper(B15)
%V%%C%replace(B16,C16,D16,E16)
%V%%C%rept(B17,C17)
%V%%C%reverse(B18)
%V%%C%right(B19,C19)
%V%%C%string(B20,C20)
%V%%C%trim(B21)
%V%%C%upper(B22)
%V%%C%value(B23)
%CO:G,2,0%%CO:H,85,0%
Summary
Converts ASCII value to character
Converts character to ASCII value
Compares two strings - 1 TRUE, 0 FALSE.
Attempts to find first string within second, starting at %H4%Input3. Input3%H4% is optional
Concatenates any number of strings onto the end of each other string.
Returns the first %H4%Input2%H4% charaters of a string.
Returns the length of a string.
Converts a string to contain only lower case letters.
Extracts %H4%Input3%H4% characters from a string, starting from %H4%Input2%H4%.
Capitalises every letter in a string which does not follow another letter.
Replaces part of the %H4%Input1%H4%, starting with %H4%Input2%H4% up to %H4%Input3%H4% with %H4%Input4%H4%
Repeats a string %H4%Input2%H4% times to form a new string.
Reverses a string, character by character.
Returns the last %H4%Input2%H4% characters of a string.
Converts a number to a string, using %H4%Input2%H4% decimal places.%H4% Input2%H4% is optional.
Strips all leading and trailing spaces and reduces multiple interior spaces to one.
Converts a string to contain only upper case letters.
Converts a string containing characters 0-9 to a number.