String hadling

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • saravanakumar
    New Member
    • Sep 2006
    • 11

    String hadling

    Hi,
    I need to discard final four charecters of a string. How it can be done?

    Thanks in advance
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    Get the length of the string

    Write the NULL terminator (0) to the length - 4 in the array of characters.

    Comment

    • saravanakumar
      New Member
      • Sep 2006
      • 11

      #3
      Thanks!

      But i want to know any other method to do this like mid function in VB.

      Comment

      Working...