Remove Last Character Script

Remove Last Character Script is use to removing characters from the ends of a string.

Demo :



Type Text : Type No: -

Example :

Type Text : Removing Characters End String.

Type Number : 7

If you need to Removing Characters End String function following code useful to you.


<?php
  $stringRemov = "Removing Characters End String";
  $result = substr($stringRemov,-7);
  echo $result;
?>

In the above code is used to removing characters from the ends of a string. The 'Removing Characters End String' this string stored in $stringRemov variable.Then substr() function will remove last 7 character. which function have three arguments that is string str,int star,[int length].

Free Download Script :

If you need Remove Last Character Script click and download from following link.

Download




Content