Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear Friends,
does anyone has any piece of code that returns true is string contains string B and false otherwise? Thank you in advance. -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Have a look at the INSTR() function.
-- Best Regards Leo Heuser Followup to newsgroup only please. "banavas " skrev i en meddelelse ... Dear Friends, does anyone has any piece of code that returns true is string A contains string B and false otherwise? Thank you in advance. G --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
String Manipulation within VBA | Excel Discussion (Misc queries) | |||
String Manipulation | Excel Discussion (Misc queries) | |||
VBA String manipulation | Excel Programming | |||
VBA String manipulation | Excel Programming | |||
string manipulation | Excel Programming |