Registre znakov v PHP
Daný reťazec:
<?php
$str = 'php';
?>
Vytvorte z tohto reťazca nasledujúci reťazec:
'PHP'
Daný reťazec:
<?php
$str = 'PHP';
?>
Vytvorte z tohto reťazca nasledujúci reťazec:
'php'
Daný reťazec:
<?php
$str = 'london';
?>
Vytvorte z tohto reťazca nasledujúci reťazec:
'London'
Daný reťazec:
<?php
$str = 'London';
?>
Vytvorte z tohto reťazca nasledujúci reťazec:
'london'
Daný reťazec:
<?php
$str = 'london is the capital of great britain';
?>
Vytvorte z tohto reťazca nasledujúci reťazec:
'London Is The Capital Of Great Britain'
Daný reťazec:
<?php
$str = 'LONDON';
?>
Vytvorte z tohto reťazca nasledujúci reťazec:
'London'
Daný reťazec:
<?php
$str = 'привет';
?>
Vytvorte z tohto reťazca nasledujúci reťazec:
'ПРИВЕТ'
Daný reťazec:
<?php
$str = 'ПРИВЕТ';
?>
Vytvorte z tohto reťazca nasledujúci reťazec:
'привет'