|
| String in Textbox Change Spaces |
| Iniciado por Ruan, 19,mar. 2015 13:05 - 1 respuesta |
| |
| | | |
|
| |
Miembro registrado 214 mensajes |
|
| Publicado el 19,marzo 2015 - 13:05 |
Good Day
I have integrated our SMS service provider into my program. The problem I have is that the format that they need the message in is difficult for me to replicate. eg. When I write a message in EDT_MESSAGE: "Hi my name is Ruan" the format it needs to send it needs to be: "Hi+my+name+is+Ruan" How can I do this in windev? I tried looking at Stringbuild, stringinsert etc. and cannot find anyway to do this. Please can you assist me. Basically every space must be replaced with +
Thanks
Ruan |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 214 mensajes |
|
| Publicado el 19,marzo 2015 - 13:14 |
Hi
Managed to get it right with:
InitialString is string = POPUP_SEND_SMS.EDT_MESSAGE ReplacedString is string = Replace(InitialString, " ", "+") POPUP_SEND_SMS.EDT_DECODED = ReplacedString
Thanks |
| |
| |
| | | |
|
| | | | |
| | |
|