switch case

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



hey,
does anyone know how to use switch case? can you include switch case samples.
cause now i need to use switch case to find the string i wan in the array.
eg:
if i wan find "+659" in array name(j), it mus be able to detect it and
convert the string in the name(j) into "/M"

also if i wan find "+656" in array name(j), it mus be able to detect it and
convert the string in the name(j) into "/H"

thanks alot.

.



Relevant Pages

  • Re: switch case
    ... can you include switch case samples. ... cause now i need to use switch case to find the string i wan in the array. ...
    (microsoft.public.vb.6.webdevelopment)
  • Re: Switch Case problem
    ... i passed this array to a function-2 that has a switch statement; ... But every time switch reads the first character. ... switch (some variable that is an array conating string) // problem is here ...
    (microsoft.public.vc.language)
  • Re: Have some problem with enum and string
    ... I have below a for loop and a switch in the for loop. ... I have also a enum called colBlowStep with some values. ... I have also an array[] called m_columnBlowStep with some strings. ... I know I can use string but I rather want to use enum. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Sorting based on string value
    ... last SWITCH;} ... Now that I have my array filled, I want to sort the contents of each ... character that matches one of the characters in the $cost_order string. ...
    (comp.lang.perl.misc)
  • Help in French|Spanish|German translation.
    ... I am also an author of User-defined string functions. ... WORDTRANEX (cSearched, cArExpressionSought | cExpressionSough, ... each string of the array is searched ... If the parameter nArStartOccurrence is -1 or omitted, the replacement starts ...
    (microsoft.public.fox.helpwanted)