Question

1
Replies
1232
Views
NITESH AGARWAL Member since 2010 9 posts
Virtusa
Posted: 3 years ago
Last activity: 3 years 6 months ago
Closed

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.

<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>

User Interface
Moderation Team has archived post
Share this page LinkedIn