Skip to main content
8 events
when toggle format what by license comment
Oct 30, 2016 at 4:18 answer added cowgill timeline score: 3
Oct 30, 2016 at 3:55 vote accept Gregory Schultz
Oct 30, 2016 at 3:41 answer added moraleida timeline score: 2
Oct 30, 2016 at 3:29 comment added cowgill Thx. Did you also try matching against HTML all entities (e.g. —, etc)?
Oct 30, 2016 at 3:27 comment added Gregory Schultz Yep. Didn't work $linkt[] = substr($title, 0, strpos($title, ' —')); $linkt[] = substr($title, 0, strpos($title, ' –')); $linkt[] = substr($title, 0, strpos($title, ' |')); $linkt[] = substr($title, 0, strpos($title, ' -')); $linkt[] = substr($title, 0, strpos($title, ' —')); $linkt[] = substr($title, 0, strpos($title, ' |'));
Oct 30, 2016 at 1:42 comment added Gregory Schultz Title before: AMD reveals Radeon Pro 400 series GPU specs, as used in new MacBook Pro | Ars Technica Title after: AMD reveals Radeon Pro 400 series GPU specs, as used in new MacBook Pro
Oct 30, 2016 at 1:23 comment added cowgill Can you give an example of the title input and expected output? It looks like you're trying to do something with a title containing an em dash, en dash, vertical bar, or a regular dash.
Oct 30, 2016 at 0:52 history asked Gregory Schultz CC BY-SA 3.0