$string = 'Hello World!';
if(stristr($string, 'earth') === FALSE) {
echo '"earth" not found in string';
}
// 出力は "earth" not found in string となります
参照元:http://www.php.net/manual/ja/function.st…
iPhon開発(objective-C)で実行を遅らせる方法です。
PHPなどのsleep()のような動作を想定しています。
[NSThread sleepForTimeInterval:0.5];上記のようにすることで、0.5秒遅らせることが可能になります。
この投稿へのコメント
コメントはまだありません。