VextoR
VextoR

Reputation: 5175

How to trim special symbols in xslt? (not spaces only)

If I have a string = "Hello, my friend!,,,," and I want to delete all that commas from right

so result will be "Hello, my friend!"

How to do that?

Upvotes: 1

Views: 92

Answers (1)

VextoR
VextoR

Reputation: 5175

replace('Hello, my friend!,,,,',',+$','')

Upvotes: 3

Related Questions