Results 1 to 3 of 3

Thread: How do I replace part of a string?

  1. #1
    I could stop if I wanted to
    Join Date
    2006-04
    Posts
    466
    Login to Give a bone
    0

    Default How do I replace part of a string?

    How do I replace part of a string?

    Ex.
    %%UFLAT
    I want remove %%U

  2. #2
    I could stop if I wanted to
    Join Date
    2007-08
    Posts
    202
    Login to Give a bone
    0

    Default Re: How do I replace part of a string?

    Hi,

    Look at the vl-string_* functions

    Code:
    (vl-string-subst "" "%%U" "%LAT")

  3. #3
    I could stop if I wanted to
    Join Date
    2006-04
    Posts
    466
    Login to Give a bone
    0

    Default Re: How do I replace part of a string?

    Thanks Gile!
    I really need to the learn the VL-* commands, they are very productive.

Similar Threads

  1. how to replace only a single string by pre decided string.
    By mohammad.raees637333 in forum AutoLISP
    Replies: 3
    Last Post: 2014-04-22, 01:07 PM
  2. Derive and Replace Part/Assembly
    By inventor.wishlist1738 in forum Inventor Wish List
    Replies: 2
    Last Post: 2012-07-30, 02:11 AM
  3. Replies: 0
    Last Post: 2008-05-22, 08:49 PM
  4. Find string in drawing and replace with VBA
    By montana.fox in forum VBA/COM Interop
    Replies: 3
    Last Post: 2006-03-01, 04:51 AM
  5. find and replace removing first letter string
    By tyeelaw13 in forum AutoCAD General
    Replies: 9
    Last Post: 2005-05-03, 04:20 PM

Posting Permissions

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