Any way to parse a string?

Does anyone know the command to delete everything after an x amount of characters on a string? For examp…

Sunday, 14th December 2003 2:10am asdadasdasd as da d asd oiajskdj lkasjdk

Thanks :smirk: