How to match a number between two characters?
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dario Plüch
am 11 Nov. 2019
Bearbeitet: Matt J
am 11 Nov. 2019
Hi,
Here is an example from a string: [180] Windabweichung
How can i extract the 180 ?
Thanks.
0 Kommentare
Akzeptierte Antwort
Matt J
am 11 Nov. 2019
>> str=extractBetween("[180] Windabweichung","[","]")
str =
"180"
2 Kommentare
Matt J
am 11 Nov. 2019
Dario's comment moved here:
Thanks Matt J,
it works perfect, but in the case for a table of strings as an input.
How can i get another table with extracted values from the input table?
Input=
and output with the same size but with returned numbers.
Thanks
Siehe auch
Kategorien
Mehr zu Characters and Strings finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!