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 bkrike 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: *

  • Users: cubicle4
  • Content: Threads
  • Order by date
  1. cubicle4

    How to convert characters to numerical character reference?

    I am trying to convert characters like: ª Â Ã ñ to their numerical character reference: #170; #194; #195, #241 Note: all of the num. char. ref are preceeded with an ampersand but could not enter that as it would convert these reference to there actual values. TIA, Harold
  2. cubicle4

    regsub and spanish tilde

    Hi, I have a question regarding spanish content and the use of regsub. We are submitting content to an Oracle db set up to handle UTF-8. The columns store the data properly. The question arises when we submit content from a text area or text field of an html form that contain characters like...
  3. cubicle4

    how to read a file and set this information to a variable

    I need to be able to retrieve the contents of a file and set them to a variable. Anyhow, this is what I have so far. I am able to return the channel fine but can't retrieve what is in the file. Here is the code snippet that I am using. Keep in mind that I have left out the fully qualified...
  4. cubicle4

    replacing strings with & (ampersand) in them using regsub

    Hi all, BTW, in my examples below where you see &quot;<&quot; and &quot;>&quot; replace them with the HTML entity when running the scripts, the browser has converted them to the actual character. Seems like all my issues revovle around mappings and string replacement. aarrghh! Anyhow, I have...
  5. cubicle4

    Mapping strings, changing case of first letter of string

    I have a string that I would like to change the case of only the first letter to upper case. This string can be any word. Anyhow, I am trying to apply string mapping to it to accomplish this. Yeah, sure I could map each character of the alphabet to its corresponding uppercase value but that...
  6. cubicle4

    performance, comparing three commands

    Hi, Below I have four comparison tests. I am curious as to which would provide the least overhead and/or fastest results. set var 1 if {$var ==1} { ..do something } if {[string equal $var 1] == 1} { ..do something } if {[string match 1 $var] == 1} { ..do something } if {[string...
  7. cubicle4

    Forms and objects and accessing those objects

    Hi all, I have a window which contains a form and in the form contains an object I have created known as &quot;MyContent1&quot;. From this object I can open a popup window. This popup contains a search form. At this time I am still able to call methods from the object on the parent window...
  8. cubicle4

    regsub and html entity

    Hi all, I am trying to replace html characters with their encoded entities. More specifically I am trying to replace &quot; and & with their encoded entity &quot; and &amp;. The problem is that the character & is a special sequence and is replaced with the string that matches the pattern...
  9. cubicle4

    Scope question.

    Hi all, first post here. When setting a variable within a switch statement, is that variable available outside the scope of the switch statement. We have been having issues where we set a variable within the switch statement and then try to use that variable's values outside the switch...

Part and Inventory Search

Back
Top