searchString()
public int searchString(int pos, int len)
This method returns the position in the presentation space of the specified string. This method returns 0 if the string is not found in the presentation space.
Figure 1. Examples
for searchString()
<varupdate name="$int$" value="$HMLPSUtil.searchString('HCL')$" />
<message title="'Searching for HCL'"
value="'HCL is found at position '+$int$+
' that is row='+
$HMLPSUtil.convertPosToRow($int$)$+
', column='+
$HMLPSUtil.convertPosToCol($int$)$" />