I have a string like this:
\" 23 PM\"
I would like to remove 23 so I\'m left with PM or (with space truncated) ju
23
PM
Can do with ltrim
ltrim(' 23 PM', ' 0123456789');
This would remove any number and spaces from the left side of the string. If you need it for both sides, you can use trim. If you need it for just the right side, you can use rtrim.
trim
rtrim