Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. LLDLLD

    Public Enum Not Visible in Class

    Thank you very much! :)
  2. LLDLLD

    Public Enum Not Visible in Class

    I was wondering if anyone knew why a public enum does not show up to use after creating an instance of the class that it resides in? For example: In ClassWithEnum: public enum Values { value1 = 0, value2 = 1 } Then, create an instance of the class: ClassWithEnum myClassInstance = new...
  3. LLDLLD

    Replace Apostrophe with Double Apostrophe

    To follow up for others reading this posting, I found that the apostrophe character that was pulled from a Word Doc (Times New Roman) ended up being ASCII character number 8217, which obviously is not the normal apostrophe - ASCII character number 39. Once knowing this, I could find/replace it...
  4. LLDLLD

    Replace Apostrophe with Double Apostrophe

    I appreciate the feedback. Perhaps my problem is that I am extracting text directly out of a word document and maybe the font is special and causing a problem??. From what I can see an apostrophe is normally ' (straight up and down), but in this string it is slanted forward, so maybe it is...
  5. LLDLLD

    Replace Apostrophe with Double Apostrophe

    I have tried using the simple Replace function in C# to find and replace a single apostrophe with two, but neither the Replace function nor the IndexOf function find the single apostrophe. Example: strToReplace = "Joe's shoes" -- Code: strToReplace = strToReplace.Replace("'", "''"); Result...

Part and Inventory Search

Back
Top