For South Africa Imran Tahir, also a leg-spinner, took 2-41 in his 10 overs -- a performance which Shadab said underlined the impact of leg-spinners at the World Cup.
"Imran bowled well in our innings so I thought that I will also get some help and grip and it turned out to be like that," said Shadab.
The fast-rising star was rated as Pakistan's trump card by none other than World Cup-winning captain Imran Khan, now the country's prime minister.
When Shadab dismissed South African opener Quinton de Kock it meant he had reach the landmark of 50 wickets in his 38th one-day international.
And with the World Cup hopefully over the worst of the rain that has plagued the tournament's early stages, Shadab said: "When there is dry weather and the pitch is also dry then leg-spin will come into equation.
"That's why I am happy to have played my part in the wins against South Africa and England," said Shadab.
He dismissed Jason Roy and centurion Joe Root in Pakistan's shock 14-run win against world number one and tournament hosts England.
Besides Shadab, India's Yuzvendra Chahal, Afghanistan's Rashid Khan, Tahir, England's Adil Rashid and Australia's Adam Zampa are all leg-spinners.
Tahir, the oldest at this World Cup at 40, leads the spinners' chart with ten wickets in seven games while Chahal has eight in four and Rashid seven in six matches.
Pakistan, currently seventh on the table after two wins from six matches, still have a chance of breaking into the top four that will go into the semi-finals from the 10-team round-robin group phase.
Shadab admitted Pakistan were in a must-win situation in all their remaining three group matches, starting with Wednesday's fixture against an in-form New Zealand in Birmingham.
Pakistan also need to lift their inferior net run-rate besides hoping other results go their way.
"We know the situation," said Shadab. "We need to win our remaining three matches to harbour any hopes of reaching the semi-finals, but the confidence is there so we will be taking it match by match."
After the New Zealand match, Pakistan play Afghanistan in Leeds on June 29 before concluding their group-stage campaign against Bangladesh at Lord's on July 5.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)
Business Standard has always strived hard to provide up-to-date information and commentary on developments that are of interest to you and have wider political and economic implications for the country and the world. Your encouragement and constant feedback on how to improve our offering have only made our resolve and commitment to these ideals stronger. Even during these difficult times arising out of Covid-19, we continue to remain committed to keeping you informed and updated with credible news, authoritative views and incisive commentary on topical issues of relevance.
We, however, have a request.
As we battle the economic impact of the pandemic, we need your support even more, so that we can continue to offer you more quality content. Our subscription model has seen an encouraging response from many of you, who have subscribed to our online content. More subscription to our online content can only help us achieve the goals of offering you even better and more relevant content. We believe in free, fair and credible journalism. Your support through more subscriptions can help us practise the journalism to which we are committed.
Support quality journalism and subscribe to Business Standard.