function InTrim_
Strips internal whitespace from a sequence
static
string
InTrim_
(string $sStr)
Redefined in descendants as:
function Left_ desc Return the first $numChars characters of a string.
static
string
Left_
(string $sStr, $iNumChars, int $numChars)
-
string
$sStr
-
int
$numChars: number of chars to return
-
$iNumChars
function Len_
Nothing to do with Coronation Street
static
void
Len_
([string $sStr = ""])
function ReMatch_
Simple function to search strings. Where is the =~ operator when you need it?
static
array
ReMatch_
(string $sNeedle, $sHayStack, [boolean $bCaseSensitive = TRUE], string $sHaystack)
-
string
$sNeedle: String to search for
-
string
$sHaystack: String to search in
-
boolean
$bCaseSensitive: bCaseSensitive Is the search supposed to be case-sensitive?
-
$sHayStack
ReReplace_
Simple function to search strings. Where is the =~ operator when you need it?
static
array
ReReplace_
(string $sNeedle, $sNewNeedle, boolean $sHayStack, [ $bCaseSensitive = TRUE], string $sHaystack)
-
string
$sNeedle: String to search for
-
string
$sHaystack: String to search in
-
boolean
$sHayStack: bCaseSensitive Is the search supposed to be case-sensitive?
-
$sNewNeedle
-
$bCaseSensitive
function ReSplit_
static
array
ReSplit_
(string $sNeedle, string $sHaystack, [boolean $bCaseSensitive = TRUE])
-
string
$sNeedle: String to search for
-
string
$sHaystack: String to search in
-
boolean
$bCaseSensitive: bCaseSensitive
function Rev_
Reverses sequence of the object, places it in $_revStr (can be used with no Seq instance)
static
string
Rev_
([ $sStr = ""], string $Str)
function Right
static
string
Right_
(string $sStr, int $iNumChars)
-
string
$sStr
-
int
$iNumChars: number of chars to return
function Sub_
Hmolog of the string function substr
static
void
Sub_
( $sStr, $iStart, [ $iLength = ""])
function SymFreq_
static
array
SymFreq_
(string $sSymbol, string $sStr, [boolean $bCaseSensitive = TRUE])
-
string
$sSymbol: Symbol to be searched for
-
string
$sStr: String to be searched in
-
boolean
$bCaseSensitive: bCaseSensitive Is the search supposed to be case-sensitive?
function Trim_
static
string
Trim_
( &$sStr, string $sStr)
-
string
$sStr: String to be trimmed
-
&$sStr
function __construct
object
__construct
([string $sStr = ""], [boolean $bIsRev = 0])
-
string
$sStr: String data of the object
-
boolean
$bIsRev: Is the string reversed?
Redefinition of:
- Bio::__construct()
- function Bio ()
Redefined in descendants as:
function cat
concats Str objects $oOther with $this
Redefined in descendants as:
function catStr
Workalike for MutableSeq::append in BioPython
string
catStr
( $sOther, string $otherStr)
Redefined in descendants as:
function CatStr_
Workalike for MutableSeq::append in BioPython
string
CatStr_
( $sFirst, $sOther, string $otherStr)
-
string
$otherStr
-
$sFirst
-
$sOther
function errorCallBack
handles errors
void
errorCallBack
( $oError)
function getData
string
getData
()
function getIsRev
bool
getIsRev
(none 0)
function getRev
Reverses sequence of this Seq object by calling revStr Requires an instance of $this and does not modify the sequence in place
string
getRev
(none 0)
function inTrim
Strip whitespace from the Seq->_seqStr
string
inTrim
()
function left
Set the Sequence data to the the first $iNnumChars characters of a string
string
left
(int $iNnumChars, string $sStr)
-
string
$sStr
-
int
$iNnumChars: number of chars to return
function len
Calculates length of Seq obj Str data
integer
len
()
function reMatch Simple function to search instantiated String objects.
Calls the static func. ReMatch_ to do the work.
array
reMatch
(string $sNeedle, [boolean $bCaseSensitive = TRUE])
-
string
$sNeedle: Symbol to be searched
-
boolean
$bCaseSensitive: bCaseSensitive Is the search supposed to be case-sensitive?
function rev
Reverses sequence of this Seq object by calling revStr Requires an instance of $this and reverses the sequence in place
string
rev
(none 0)
function right
string
right
( $iNumChars, string $sStr, int $iChars)
-
string
$sStr
-
int
$iChars: number of chars to return
-
$iNumChars
function setData
void
setData
( $sData, string $sStr)
-
string
$sStr: String represented
-
$sData
function setIsRev
void
setIsRev
(boolean $bIsRev)
function sub
Calls Sub for $this Seq object
void
sub
( $iStart, [ $iLength = ""])
function symFreq Simple function to search instantiated String objects for characters.
Calls the static func. SymFreq_ to do the work.
array
symFreq
(string $sSymbol, [boolean $bCaseSensitive = TRUE])
-
string
$sSymbol: Symbol to be searched
-
boolean
$bCaseSensitive: Is the search supposed to be case-sensitive?
function toggleIsRev
boolean
toggleIsRev
(none 0)
function trim Removes leading and trailing spaces from a string.
string
trim
()
function __toString
string
__toString
()
Redefined in descendants as:
Inherited Methods
Inherited From Bio
Bio::__construct()
Bio::printWithNl()