Search Postgresql Archives

Check whether two strs have at least one shared character.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Is there a simple way/command/function to check whether two strings have at least one overlap character please?

For example,

str1: 05baaa
str2: ooboo

Query: select str1 ??? str2 ;

Result: true

Because b is in both str1 and str2.

Thank you!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux