View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
JE McGimpsey JE McGimpsey is offline
external usenet poster
 
Posts: 4,624
Default string manipulation

Take a look at the InStr method in VBA Help. You can return True/False
with:

Dim bAcontainsB As Boolean
bAcontainsB = InStr(strA, strB) 0


In article ,
banavas wrote:

Dear Friends,

does anyone has any piece of code that returns true is string A
contains string B and false otherwise?