Udef DisplayText without the language prefix

Hi

I'm trying to get the text of an Udef field (List value), but the results also outputs the language prefix.

How can I avoid that?

I use this to get the text: days = udefs.get("SuperOffice:6:DisplayText");

And it outputs this (as it is stored in the database): NO:"60";

It should be just 60 as this is the Udlist name. Do I have to strip or replace characters, or is there any function for this that I haven't found yet?

RE: Udef DisplayText without the language prefix

It's a function you haven't found yet :)

The String class has a method called parseSOMultiLanguageString.

By: Frode Lillerud 21 Nov 2017

RE: Udef DisplayText without the language prefix

That worked as a charm,  thanks Frode!

By: Ingar Karlsen 21 Nov 2017