Question
Virtusa
IN
Last activity: 12 Mar 2017 12:32 EDT
How to use Replace or Substring in JSP tag
Following the code which I am using to populate the value into excel.
.pxHistoryForReference contains value "DATA-ADMIN-OPERATOR-ID NITESH"
But I want to display only "NITESH" . How do is substring or replace the value in below code.
Following the code which I am using to populate the value into excel.
.pxHistoryForReference contains value "DATA-ADMIN-OPERATOR-ID NITESH"
But I want to display only "NITESH" . How do is substring or replace the value in below code.
<HTML>
<body>
<table border="1">
<tr>
<th>
OPERATOR ID
</th>
<th>
EVENT
</th>
<th>
DATE/TIME
</th>
<th>
PERFORMED BY
</th>
</tr>
<pega:forEach name="OperatorAudit.pxResults">
<pega:withEmbedded name="$this">
<tr>
<td>
<pega:reference name="$this.pxHistoryForReference"></pega:reference>
</td>
<td>
<pega:reference name="$this.pyMemo"></pega:reference>
</td>
<td>
<pega:reference name="$this.pxSaveDateTime"></pega:reference>
</td>
<td>
<pega:reference name="$this.pyPerformer"></pega:reference>
</td>
</tr>
</pega:withEmbedded>
</pega:forEach>
</table>
</body>
</HTML>