Finding a partially case sensitive string in a larger string.

Hi I need to be able to find how many of a string that is partially case sensitive are present in another string and am very unsure about how to go about this. For example i need to find 'HelloThere' in the string 'HelloThereEveryone' but only the section 'There' is case sensitive how would I go about this?
Thanks.

 채택된 답변

Walter Roberson
Walter Roberson 2020년 1월 21일

0 개 추천

Find all of the potential matches case insensitive . Then out of the list of locations, select the subset that matches the appropriate part case sensitive .

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Characters and Strings에 대해 자세히 알아보기

질문:

2020년 1월 21일

댓글:

2020년 1월 21일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by