Question

1
Replies
1292
Views
Close popover
Nitesh Agarwal (NITESH AGARWAL)
Virtusa

Virtusa
IN
NITESH AGARWAL Member since 2010 9 posts
Virtusa
Posted: March 11, 2017
Last activity: March 12, 2017
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 Experience
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.