I want to know how to convert  " half-width character " to " full-width character"
Application Type
Traditional Web
Service Studio Version
11.53.10 (Build 61057)

I want to know how to convert  " half-width character " to " full-width character"

Such  as convert "ABCD" to "ABCD"

And how to convert  " full-width character"  to " half-width character " 

Such  as convert "ABCD " to "ABCD "


There is no blankspace in "ABCD " 

Solution

Hi @yezhizhumin wang 

Okay, please check bellow attachment.

Please mark solution if its match with your expectation.

I did this using reactive. so you have to configure with Traditional.

Thanks

Yogesh J

DemoHWFW.oml

I am sorry , It is not about the space.

In Japan ,there are  kind of character  such as " half-width character "  and  " full-width character " 

Just like "ABCD" and "ABCD" 。

It looks like have space between "ABCD" . But in fact ,there is no space between "ABCD" .

what I need is to convert " half-width character "  to " full-width character "

 such like  convert ""ABCD" to "ABCD" 


Hi yezhizhumin wang, 

If you want to remove space betwen characters you can use the buit-in function Trim(Text) that removes all leading space characters from text T.

This information is in the OutSystem Documentation in the link bellow:

https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Logic/Built-in_Functions/Text


I am sorry , It is not about the space.

In Japan ,there are  kind of character  such as " half-width character "  and  " full-width character " 

Just like "ABCD" and "ABCD" 。

It looks like have space between "ABCD" . But in fact ,there is no space between "ABCD" .

what I need is to convert " half-width character "  to " full-width character "

 such like  convert ""ABCD" to "ABCD" 

Hi yezhizhumin wang

,
Can you please check with below link.

https://personal-dt37vy6p.outsystemscloud.com/Demo/Home?_ts=637946912819591974

is this what you want to implement?

Please check and revert.

Thanks

Yogesh

Yes,that is what I want.

How to coding that function.

Hey,

I did this using javascript.Can you please confirm once again , is it okay or not?

So I will share oml file.

Thanks

Yogesh

As far as my check.

It works well.

That is the function I need.

Solution

Hi @yezhizhumin wang 

Okay, please check bellow attachment.

Please mark solution if its match with your expectation.

I did this using reactive. so you have to configure with Traditional.

Thanks

Yogesh J

DemoHWFW.oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.