How are you…
First I’m saying a sorry for My Bad English
Describing the Problem
I tried to Find YouTube Video ID from a Link…
So, I’m using Replace all block to do that…
But, It doesn’t working…
YouTube.aia (5.5 KB)
YouTube.apk (5.3 MB)
(poll removed by Taifun, please only use that community feature when neessary. Thank you)
Replying :- Okay, Thanks
Because “https” also contains “http”.
Therefore it will jump to this:
Since “https://…” doesn’t contain “http://…”, it won’t replace the text.
You should check for https first before http in the if else.
Btw, I remake your code so that it reduces the blocks. But it does the similar things: replace text and contains text.
Another way to find youtube id is to create a procedure like this
Try this and see if it works
YouTube_1.aia (5.1 KB)
Very very Thanks @dora_paz and @WatermelonIce
@WatermelonIce I selected your method because I seem its easy…
@WatermelonIce , Please watch this video
I wanna to “when a user enter an invalid YouTube Link…, Then, show the error message…”
So, How to do it ?
create a new topic for it.
well u shall try if then else
How can I change a post to a new topic ?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.