⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 neat_string.php.svn-base

📁 j2me is based on j2mepolish, client & server for mobile application. server part
💻 SVN-BASE
字号:
<?php/* SVN FILE: $Id: neat_string.php 2951 2006-05-25 22:12:33Z phpnut $ *//** * String handling methods. * * Random passwords, splitting strings into arrays, removing Cyrillic characters, stripping whitespace. * * PHP versions 4 and 5 * * CakePHP :  Rapid Development Framework <http://www.cakephp.org/> * Copyright (c)	2006, Cake Software Foundation, Inc. *			1785 E. Sahara Avenue, Suite 490-204 *			Las Vegas, Nevada 89104 * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * * @filesource * @copyright		Copyright (c) 2006, Cake Software Foundation, Inc. * @link				http://www.cakefoundation.org/projects/info/cakephp CakePHP Project * @package			cake * @subpackage		cake.cake.libs * @since			CakePHP v 0.2.9 * @version			$Revision: 2951 $ * @modifiedby		$LastChangedBy: phpnut $ * @lastmodified	$Date: 2006-05-25 17:12:33 -0500 (Thu, 25 May 2006) $ * @license			http://www.opensource.org/licenses/mit-license.php The MIT License *//** * String handling methods. * * Random passwords, splitting strings into arrays, removing Cyrillic characters, stripping whitespace. * * @package		cake * @subpackage	cake.cake.libs */class NeatString{/** * Returns an array with each of the non-empty characters in $string as an element. * * @param string $string * @return array */	function toArray($string) {		$split = preg_split('//', $string, -1, PREG_SPLIT_NO_EMPTY);		return $split;	}/** * Returns string with Cyrillic characters translated to Roman ones. * * @param string $string * @return string */	function toRoman($string) {		$pl = array('膮','膰','臋','艂','艅','贸','艣','藕','偶','膭','膯','臉','锟

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -