if the string is in JSON from, you can use obj = JSON.parse(string) and then just have at obj as you would an object.
e On Wed, Jun 11, 2014 at 9:04 PM, dua khaliq <[email protected]> wrote: > hi, i am new to Angularjs. i need to know about splitting a string. The > scenario is that i have the back end data in json-LD form. One of the value > that i want to bind with the input is stored as **"href": > "/articles/1328196047309"**. Now what i want is to show just the part after > ":" (colon). how can i do it in the view? > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
