elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Recopilación Tutoriales y Manuales Hacking, Seguridad, Privacidad, Hardware, etc


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación C/C++ (Moderadores: Eternal Idol, Littlehorse, K-YreX)
| | |-+  [SOLUCIONADO] VB Ucase
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: [SOLUCIONADO] VB Ucase  (Leído 1,642 veces)
Miseryk

Desconectado Desconectado

Mensajes: 225


SI.NU.SA U.GU.DE (2NE1 - D-Unit)


Ver Perfil
[SOLUCIONADO] VB Ucase
« en: 8 Febrero 2012, 20:23 pm »

Hola estoy aqui nuevamente, queria saber si alguno tiene idea como lograr el Ucase de vb, por ejemplo Ucase(STRING), porque cree la funcion InStr de vb pero no identifica minusculas y mayusculas, entonces me gustaria antes hacer str1 = Ucase(Param1) str2 = Ucase(Param2) y luego seguir con el code, desde ya, muchas gracias.

EI: juntando mensajes.


Hola a todos, pude resolverlo, aqui esta la respuesta:


Código
  1. #include <algorithm>
  2. #include <string>
  3.  
  4. ....
  5.  
  6. string M_Ucase(string Cadena)
  7. {
  8. std::transform(Cadena.begin(), Cadena.end(), Cadena.begin(), ::toupper);
  9.  
  10. return Cadena;
  11. }
  12.  
  13. /*
  14. Dentro del main pueden hacer
  15.  
  16. cout << M_Ucase("blabla") << std::endl;
  17. */
  18.  


« Última modificación: 8 Febrero 2012, 20:46 pm por Eternal Idol » En línea

Can you see it?
The worst is over
The monsters in my head are scared of love
Fallen people listen up! It’s never too late to change our luck
So, don’t let them steal your light
Don’t let them break your stride
There is light on the other side
And you’ll see all the raindrops falling behind
Make it out tonight
it’s a revolution

CL!!!
Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
[SOLUCIONADO] y [NO SOLUCIONADO]
Sugerencias y dudas sobre el Foro
Hans el Topo 7 2,989 Último mensaje 20 Enero 2007, 14:04 pm
por Cobac
[Solucionado]Buscar en Textbox |@@|[Solucionado]Ordenar de Mayor a menor
Programación Visual Basic
agus0 6 7,670 Último mensaje 13 Septiembre 2009, 01:33 am
por agus0
SOlucionado
PHP
alexkof158 2 2,253 Último mensaje 12 Noviembre 2009, 22:46 pm
por :ohk<any>
[SOLUCIONADO] como poner [SOLUCIONADO] a un tema
Sugerencias y dudas sobre el Foro
jcrack 5 4,114 Último mensaje 25 Febrero 2011, 21:55 pm
por jcrack
¿MD5 en C?(Solucionado)
Programación C/C++
The Last Hero 8 7,641 Último mensaje 16 Mayo 2011, 20:41 pm
por The Last Hero
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines