Instead of comparing the whole strings compare only their relevant parts.
If all numeric prefixes are 8 character long as in the example, [tt]Copy[teal]([/teal]str[teal],[/teal][purple]10[/purple][teal],[/teal]Length[teal]([/teal]str[teal]))[/teal][/tt] is enough. Otherwise just take the part after the first space : [tt]Copy[teal]([/teal]str[teal],[/teal]Pos[teal]([/teal][green]' '[/green][teal],[/teal]str[teal])+[/teal][purple]1[/purple][teal],[/teal]Length[teal]([/teal]str[teal]))[/teal][/tt] .
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.