I'm wondering how to determine the number of characters after the "|" symbol in this string: "354-567-3425 | John Doe". I did some research and only came across the javascript indexOf()
method. While this method is useful for finding characters before the "|", I'm unsure of how to use it in reverse to count from the end of the string. I believe there must be a simple solution to this issue. Any assistance would be highly valued.