String manipulation example?

I read that the standard arithmetic, string manipulation, filters (+ sprintf) are available in templates.

I’d like to replace a string in one of my items. Could somebody provide a string manipulation example?

Thx, G

Thx, rossko.

Maybe my question was unclear: how would I do that in Habpanel?

Problem solved. I managed the manipulation by using a pure javascript function:

<div ng-init="{{
              	iconName = itemValue('WeatherInformation_Current_WeatherIconURL').split('/').pop().replace('gif', 'svg');
              	serverPath = '';
<td id="weather-cond">
      <img width="100" height="100" ng-src="{{serverPath + iconName}}"></img>