Brimbox Logo Brimbox Version 2.3.4 Released

rpad>>

Method that returns integer values stripped from Brimbox padded variables.

Class: bb_main, called as $main

File: bb_main.php (php)

Declaration:

function rpad($padded)

Usage:

$col_type = $main->rpad($column);

Returns: integer stripped from padded string value.

Parameter: $column (string, character with padded integer appended)
Padded string to strip integer from.

Example:
$column = “c03”
$col_type = $main->rpad($column);
$col_type equals 3

Updated: 2016-07-17