Jump to content

StringReplace hasn't


Recommended Posts

This seams simple enough to me, but I can't find it in the help file. How do I know if StringReplace hasn't replaced any entries in a string (preferably because there weren't any)? I've checked @error value, but this is always 0.

Chris

Link to comment
Share on other sites

Well, I can do it by Using StringInStr to check for existance of my string 1st.

Or I can read it to a temporary variable and compare after running StringReplace..

or probably 100 other ways.

Sometimes just helps to talk it out huh?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...