remove part of a string

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oll3i
    Contributor
    • Mar 2007
    • 679

    remove part of a string

    How do I remove a part of a string?
    Thank You
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    is it a part that should match a pattern or a fixed position? please give an example ...

    kind regards

    Comment

    • oll3i
      Contributor
      • Mar 2007
      • 679

      #3
      eg lets say i have a string that consists of

      "Lorem Ipsum is
      simply dummy
      text of the printing
      and typesetting industry."

      and i want to remove lets say 3 last lines


      Thank You

      Comment

      • oll3i
        Contributor
        • Mar 2007
        • 679

        #4
        okey i managed to do that
        Thank You :)

        Comment

        • gits
          Recognized Expert Moderator Expert
          • May 2007
          • 5390

          #5
          hi ...

          glad to hear you got it working ... and may be you would kindly think about to share your solution to the users that find that thread later on? ...

          kind regards

          Comment

          Working...