|
| How to find an empty string in code? |
| Iniciado por guest, 11,ago. 2017 13:15 - 6 respuestas |
| |
| | | |
|
| |
| Publicado el 11,agosto 2017 - 13:15 |
Hi,
maybe a silly question, but how to find empty strings [""] in code?
best regards, Xavier |
| |
| |
| | | |
|
| | |
| |
| Publicado el 11,agosto 2017 - 14:31 |
Hi Xavier,
Not sure I get your question completely but here's what I used to do: IF SomeString ~= "" THEN ... or FOR ALL String SubStr OF MainStr SEPARATED BY CR IF Substr ~= "" THEN ...
Cheers,
Peter Holemans |
| |
| |
| | | |
|
| | |
| |
| Publicado el 11,agosto 2017 - 14:38 |
Hi Peter,
I want to find in the code editor all the [""] like EDT_Name = "", so do a Ctrl-F in the code editor and try to find all the double double quotes in the code.
Cheers, Xavier |
| |
| |
| | | |
|
| | |
| |
| Publicado el 11,agosto 2017 - 14:46 |
Ah, OK. Not working in WX at the moment... But by heart: You need to quote your search again in that case if I recall correctly. Something like "=""" or maybe like in code where you have to quadruple your quotes. Something like """""""" maybe.
Do some tests, I have used it that way quite a while ago.
Cheers,
Peter Holemans |
| |
| |
| | | |
|
| | |
| |
| Publicado el 11,agosto 2017 - 14:53 |
Hi Peter,
I've tried "", """, """" => nothing found just tried """"" (5 double quotes) and now WD finds them...
thnx and cheers, Xavier |
| |
| |
| | | |
|
| | |
| |
| Publicado el 11,agosto 2017 - 14:55 |
The inner dungeons of WX remain as mysterious as ever :rp: Glad you got it !
Cheers,
P. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 11,agosto 2017 - 15:50 |
Quote Peter Holemans
The inner dungeons of WX remain as mysterious as ever :rp:
Glad you got it !
Cheers,
P.
I would have though quad double quotes would have got it, but how in the ach e double el does 5 double quotes make any sense???:confused: |
| |
| |
| | | |
|
| | | | |
| | |
|