How to take a text from a div and cut the information that I don't need?
Example:
I take a information about a time from a web server on a PLC, and this server returns this #T15_05
where it has minutes and seconds, is that a way to create a function to cut and transform this time for something like this 15:05
?
<!-- AWP_In_Variable Name='"webdata".Takt' -->
<div class="takt">
<p>TAKT</p>
<div class="Takt" id="takt">:="webdata".Takt:</div>
</div>
This <!-- AWP_In_Variable Name='"webdata".Takt' -->
is how I get the information from the PLC web server.