12.07.2015 Views

spec - Local Sector 7 web page

spec - Local Sector 7 web page

spec - Local Sector 7 web page

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

split(string, array) — Splits the string string at space characters and assigns theresulting substrings to successive elements of the associative array array ,starting with element 0. The space characters are eliminated. The functionsreturns the number of elements assigned.split(string, array, delimiter) — As above, but splits the string into elementsthat are delimited by the string delimiter . The delimiting characters areeliminated.substr(string, m) — Returns the portion of string string that begins at position m .substr(string, m, n) — As above, but the returned string is no longer than n .length(string) — Returns the length of the string string .sprintf(format [, a, b, ... ]) — Returns a string containing the formatted print.See sprintf() in a C-language reference manual.sscanf(string, format, a [, b, ... ]) — Scans the literal string or string variablestring for data, where format contains a format <strong>spec</strong>ification in the samestyle as the C language scanf() function. Each subsequent argument is a variablename or array element that will be assigned the values scanned for. Thefunction returns the number of items found in the string.Conversion Functionsasc(s) — Returns the ASCII value of the first character of the string value of theargument.bcd(x) — Returns a 24-bit integer that is the binary-coded decimal representation ofthe nonnegative integer x.dcb(x) — Returns the nonnegative integer corresponding to the 24-bit binary-codeddecimal representation x.deg(x) — Returns the argument converted from radians to degrees.rad(x) — Returns the argument converted from degrees to radians..INTERIM WORK-IN-PROGRESS (8/16/01) NOT FOR GENERAL DISTRIBUTION REFERENCE MANUAL 119

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!