chilly_bang
Board Regular
- Joined
- Jun 17, 2016
- Messages
- 57
Hi
I have in A and B urls. They are all different, but some of them, like in A2 and B2, have same IDs. Example:
According to this example i want to get
How can i compare certain parts of strings to do so?
I have in A and B urls. They are all different, but some of them, like in A2 and B2, have same IDs. Example:
Code:
[TABLE="width: 390"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD]example.com/id/1/baz/[/TD]
[TD]site.com/id/2/ban/[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD]example.com/id/3/boom/[/TD]
[TD]site.com/id/3/baff/[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD]example.com/id/123/foo/[/TD]
[TD]site.com/id/321/bar/[/TD]
[/TR]
</tbody>[/TABLE]
According to this example i want to get
- into C1 - false,
- into C2 - true,
- into C3 - false
How can i compare certain parts of strings to do so?
Last edited: