• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. how to remove duplicates in a string

Stats

  • Locked Locked
  • Replies 10
  • Subscribers 144
  • Views 16161
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to remove duplicates in a string

gharish
gharish over 11 years ago

Please tell me how to remove duplicates in a given string

  • Cancel
Parents
  • tweeks
    tweeks over 11 years ago

    Andrew Beckett said:

    The general rule is that new public functions should have a clearly public name, and should be documented. So if it is not documented, it is not public (at least not yet if it is new), and should be avoided because it is liable to change.

    Thank you for the clear explanation, Andrew.

    Ironically, I found a private function for determining whether something is public:

    (In IC616-ISR5):

    _iliIsPublicFunc 'artUnique => nil
    _iliIsPublicFunc 'car => t
    _iliIsPublicFunc 'getShellArgs => nil
    _iliIsPublicFunc 'push => nil
    _iliIsPublicFunc 'pop => nil
    _iliIsPublicFunc 'techSetTechFileName => nil
    
     
    

    It is curious that techGetTechFileName() is public, but techSetTechFileName() isn't in IC616—
    especially since it was public in IC5141!

    > getVersion
    "@(#)$CDS: icfb.exe version 5.1.0 03/30/2009 07:18 (cicln04) $"
    > help techSetTechFileName
    Consulting cdsFinder database (may take a while) ...
     
    techSetTechFileName( 
    g_ID
    t_techfileName 
    ) 
    => t | nil
     
    Updates the techFile property of the specified library or cellview.
    This property is one of two that attach a library or cellview
    to a technology file.
    t
    
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • tweeks
    tweeks over 11 years ago

    Andrew Beckett said:

    The general rule is that new public functions should have a clearly public name, and should be documented. So if it is not documented, it is not public (at least not yet if it is new), and should be avoided because it is liable to change.

    Thank you for the clear explanation, Andrew.

    Ironically, I found a private function for determining whether something is public:

    (In IC616-ISR5):

    _iliIsPublicFunc 'artUnique => nil
    _iliIsPublicFunc 'car => t
    _iliIsPublicFunc 'getShellArgs => nil
    _iliIsPublicFunc 'push => nil
    _iliIsPublicFunc 'pop => nil
    _iliIsPublicFunc 'techSetTechFileName => nil
    
     
    

    It is curious that techGetTechFileName() is public, but techSetTechFileName() isn't in IC616—
    especially since it was public in IC5141!

    > getVersion
    "@(#)$CDS: icfb.exe version 5.1.0 03/30/2009 07:18 (cicln04) $"
    > help techSetTechFileName
    Consulting cdsFinder database (may take a while) ...
     
    techSetTechFileName( 
    g_ID
    t_techfileName 
    ) 
    => t | nil
     
    Updates the techFile property of the specified library or cellview.
    This property is one of two that attach a library or cellview
    to a technology file.
    t
    
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information