findStrInStr method

String findStrInStr(
  1. dynamic findS,
  2. dynamic origS
)

Finds String in another String.

Implementation

String findStrInStr(findS, origS) {
  String _s = '';
  if (origS.indexOf(findS) > -1) {
    _s = origS;
  }
  return _s;
}