beautypg.com

String functions 26 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 898

background image

C H A P T E R 2 6

Utility Functions

26-8

Summary of Functions and Methods

String Functions

26

BeginsWith(

string

,

substr

)

Capitalize(

string

)

CapitalizeWords(

string

)

CharPos(

str

,

char

,

startpos

)

Downcase(

string

)

EndsWith(

string

,

substr

)

EvalStringer(

frame

,

array

)

FindStringInArray(

array

,

string

)

FindStringInFrame(

frame

,

stringArray

,

path

)

FormattedNumberStr(

number

,

formatString

)

IsAlphaNumeric(

char

)

IsWhiteSpace(

char

)

LatitudeToString(

latitude

)

LongitudeToString(

longitude

)

NumberStr(

number

)

ParamStr(

baseString

,

paramStrArray

)

SPrintObject(

obj

)

StrCompare(

a

,

b

)

StrConcat(

a

,

b

)

StrEqual(

a

,

b

)

StrExactCompare(

a

,

b

)

StrFilled(

string

)

StrFontWidth(

string

,

fontSpec

)

Stringer(

array

)

StringFilter(

str

,

filter

,

instruction

)

StringToNumber(

string

)

StrLen(

string

)

StrMunger(

dstString, dstStart, dstCount, srcString, srcStart, srcCount

)

StrPos(

string

,

substr

,

start

)

StrReplace(

string

,

substr

,

replacement

,

count

)

StrTokenize(

str

,

delimiters

)

StyledStrTruncate(

string

,

length

,

font

)

SubstituteChars(

targetStr

,

searchStr

,

replaceStr

)

SubStr(

string

,

start

,

count

)

TrimString(

string

)

Upcase(

string

)