Results 1 to 2 of 2

Thread: String Search similar to Mid, Left, or Right Functions

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2001
    Posts
    74

    String Search similar to Mid, Left, or Right Functions

    Hi there,

    Is there a way to search through a string, I want to look through the value of an object, and pull off the last two letters of it? I know how to do this in VB and PHP, but am unsure if it's possible in Javascript.

    Could someone point me in the right direction???


    Thank you!

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Look into .Substring(start_positon, number of characters)
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width