PHPExcel_Calculation_TextData
category | PHPExcel |
---|---|
package | PHPExcel_Calculation |
copyright | Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) |
ASCIICODE(string $characters) : int
string
Value
int
CHARACTER(string $character) : int
string
Value
int
CONCATENATE() : string
string
DOLLAR(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)..
float
The value to format
int
The 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
string
FIXEDFORMAT(mixed $value, integer $decimals, boolean $no_commas) : boolean
mixed
Value to check
integer
boolean
boolean
LEFT(string $value, int $chars) : string
string
Value
int
Number of characters
string
LOWERCASE(string $mixedCaseString) : string
Converts a string value to upper case.
string
string
MID(string $value, int $start, int $chars) : string
string
Value
int
Start character
int
Number of characters
string
PROPERCASE(string $mixedCaseString) : string
Converts a string value to upper case.
string
string
REPLACE(string $oldText, int $start, int $chars, string $newText) : string
string
String to modify
int
Start character
int
Number of characters
string
String to replace in defined position
string
RETURNSTRING(mixed $testValue) : boolean
mixed
Value to check
boolean
RIGHT(string $value, int $chars) : string
string
Value
int
Number of characters
string
SEARCHINSENSITIVE(string $needle, string $haystack, int $offset) : string
string
The string to look for
string
The string in which to look
int
Offset within $haystack
string
SEARCHSENSITIVE(string $needle, string $haystack, int $offset) : string
string
The string to look for
string
The string in which to look
int
Offset within $haystack
string
STRINGLENGTH(string $value) : string
string
Value
string
SUBSTITUTE(string $text, string $fromText, string $toText, integer $instance) : string
string
Value
string
From Value
string
To Value
integer
Instance Number
string
TEXTFORMAT(mixed $value, string $format) : boolean
mixed
Value to check
string
Format mask to use
boolean
TRIMNONPRINTABLE(mixed $stringValue) : string
mixed
Value to check
string
TRIMSPACES(mixed $stringValue) : string
mixed
Value to check
string
UPPERCASE(string $mixedCaseString) : string
Converts a string value to upper case.
string
string
_uniord($c)
$_invalidChars