Skip to main content

Substring function

Comments

2 comments

  • Ryan Cooney

    Hi Wayne,

    Something like this should work (where x is your string variable):

    x.Substring(x.LastIndexOf("/"c))

    --Ryan

    0
  • Permanently deleted user

    Hi Ryan,

    Thanks and the trick is "C". I did not put C there before. Now it has "/xxxxx" in the string.  I guess it need to remove -1

    Thanks

    0

Please sign in to leave a comment.