kalabakas / Greek-string-to-uppercase

Correctly converts greek letters to uppercase. (codeIgniter string helpers greek string to uppercase)

Home Page:http://vdw.staytuned.gr/codeigniter-string-helpers-greek-string-to-uppercase/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Greek string to uppercase

A CodeIgniter String Helper that correctly converts greek letters to uppercase

This helper extends the core helper and adds a fuction that converts greek letters of a string to uppercase.

Usage

Copy MY_string_helper.php to application/helpers folder.

Load string helper:

$this->load->helper('string');

Use it:

$title = 'Τάχιστη αλώπηξ βαφής ψημένη γη - Mary Had A Little Lamb';

echo grstrtoupper($title);

// Result
// ΤΑΧΙΣΤΗ ΑΛΩΠΗΞ ΒΑΦΗΣ ΨΗΜΕΝΗ ΓΗ - MARY HAD A LITTLE LAMB

Copyright and license

Copyright (©) 2012 Dimitris Krestos. See LICENSE for details.

About

Correctly converts greek letters to uppercase. (codeIgniter string helpers greek string to uppercase)

http://vdw.staytuned.gr/codeigniter-string-helpers-greek-string-to-uppercase/

License:Apache License 2.0