Finding a partially case sensitive string in a larger string.

4 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 21 de En. de 2020
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 .

Más respuestas (0)

Categorías

Más información sobre Characters and Strings en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by