@RightBack JavaScript Equivalent

Author: Tripp W Black

Created: 04/17/2002 at 10:40 AM

 

Category:
Notes Developer Tips
JavaScript

Objective:
get the 3.50 part of the following string

var mystring = "3 candy wraps - 3.50"
var rightback = mystring.substring(mystring.lastIndexOf("-")+1,mystring.length)

previous page