Turning Technologies ExamView User Manual
Page 101
Advertising

ExamView Test Generator
101
str
string str(double x)
Returns a string representation of the argument, x.
EXAMPLE
str(18)
will return "18"
strdup
string strdup(string x, int numTimes)
Returns a string by combining the string argument, x, a variable number of times.
EXAMPLE
strdup("(2)", 5)
will return "(2)(2)(2)(2)(2)"
trim
string trim(string x)
Trims spaces from both the left and the right side of the string argument, x.
EXAMPLE
trim(" ExamView ")
will return "ExamView"
ucase
string ucase(string x)
Converts the string argument, x, to upper case.
EXAMPLE
ucase("ExamView")
will return "EXAMVIEW"
val
double val(string x)
Returns a numeric representation of the string argument, x.
EXAMPLE
val("18")
will return 18
val("-4")
will return -4
turningtechnologies.com/user-guides
Advertising