PHPExcel_Calculation_TextData
| category | PHPExcel |
|---|---|
| package | PHPExcel_Calculation |
| copyright | Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) |
ASCIICODE(string $characters) : int
stringValue
intCHARACTER(string $character) : int
stringValue
intCONCATENATE() : string
stringDOLLAR(float $value, int $decimals) : string
This function converts a number to text using currency format, with the decimals rounded to the specified place. The format used is $#,##0.00_);($#,##0.00)..
floatThe value to format
intThe number of digits to display to the right of the decimal point. If decimals is negative, number is rounded to the left of the decimal point. If you omit decimals, it is assumed to be 2
stringFIXEDFORMAT(mixed $value, integer $decimals, boolean $no_commas) : boolean
mixedValue to check
integer
boolean
booleanLEFT(string $value, int $chars) : string
stringValue
intNumber of characters
stringLOWERCASE(string $mixedCaseString) : string
Converts a string value to upper case.
string
stringMID(string $value, int $start, int $chars) : string
stringValue
intStart character
intNumber of characters
stringPROPERCASE(string $mixedCaseString) : string
Converts a string value to upper case.
string
stringREPLACE(string $oldText, int $start, int $chars, string $newText) : string
stringString to modify
intStart character
intNumber of characters
stringString to replace in defined position
stringRETURNSTRING(mixed $testValue) : boolean
mixedValue to check
booleanRIGHT(string $value, int $chars) : string
stringValue
intNumber of characters
stringSEARCHINSENSITIVE(string $needle, string $haystack, int $offset) : string
stringThe string to look for
stringThe string in which to look
intOffset within $haystack
stringSEARCHSENSITIVE(string $needle, string $haystack, int $offset) : string
stringThe string to look for
stringThe string in which to look
intOffset within $haystack
stringSTRINGLENGTH(string $value) : string
stringValue
stringSUBSTITUTE(string $text, string $fromText, string $toText, integer $instance) : string
stringValue
stringFrom Value
stringTo Value
integerInstance Number
stringTEXTFORMAT(mixed $value, string $format) : boolean
mixedValue to check
stringFormat mask to use
booleanTRIMNONPRINTABLE(mixed $stringValue) : string
mixedValue to check
stringTRIMSPACES(mixed $stringValue) : string
mixedValue to check
stringUPPERCASE(string $mixedCaseString) : string
Converts a string value to upper case.
string
string_uniord($c)
$_invalidChars