GeneBean
slice()
$first_char = inline_template('<%= @hostname[0,1 ] %>') $first_two_chars = inline_template('<%= @hostname[0, 2] %>')