Text comparison

String comparison

equal: compare two strings

s1 = 'hello'

s2 = 'hello'

s1 == s2

  True

match substring: check for substring in string

s1='metagenomics'

s2='genomics'

s2 in s1

  True