Hi,
I have a string like " How\Are\You-1 " . I need to substring till to " You-1 " with out using first and last index.
Thanks, ravi
Hi,
I have a string like " How\Are\You-1 " . I need to substring till to " You-1 " with out using first and last index.
Thanks, ravi
Using Regular Expressions:
var myPattern:RegExp = /.+\\.+\\(.+)/;
var str:String = "How\\Are\\You-1";
trace(str.replace(myPattern, "$1"));