Display the drop-down list

grapheme_substr()

« grapheme_strstr | gregoriantojd »
<?php
$string 
grapheme_substr (
    
// string $string
    
// int $start
    
  // [int $length]
);

// shows the url encoded result
$encoded urlencode($string);
?>
Result
$string = 'åbcö'
$encoded = 'a%CC%8Abco%CC%88'
Examples
#1 grapheme_substr  ("aoa\xCC\x8Abco\xCC\x88O",
 
2,
 -
1)
See also
grapheme_extract, urlencode