javascript how to remove part of a string code example
Example 1: javascript remove first character from string
var newStr = str.substring(1);
Example 2: php get part of string
substr ( $string , $start , $length );
/**Returns the extracted part of string;
*or FALSE on failure, or an empty string
*/