web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Can we use the strAlpha function for any languages like Chinese etc...

(1) ShareShare
ReportReport
Posted on by 56

Hi Team,

As StrAlpha copies the alphanumeric character form string.

Can we use the strAlpha function for any languages like Chinese etc...

Please give me more shed on this.

thanks!

I have the same question (0)
  • Laraib Profile Picture
    131 on at

    Kindly explain your scenario more so that I can understand more easily because strAlpha copies only the alphanumeric characters from a string.

  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    It's about what you expect. The method's target is non-alphanumeric values. I don't know in detail, but I think these values are language independent. As you can see below, the result is as we expected, but if "=" has a different spelling or equivalent in Chinese, you may not get the result you want.

    pastedimage1631519440174v1.png

  • @rp@n Profile Picture
    56 on at

    thanks all,

    My requirement is to ignore white space , invalid characters ( Chinese ) from a text.

    The issue was in Purchname ( text ), Vend name or Item name. So, we wants to fix those issue. If any invalid characters found any fields it should remove those and able to export the report in excel aswell...

    Is strAlpha() can do ?

    Please give me more shed on this.

    thanks!

  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    I don't know the background but my guess is there are non alphanumeric values set. StrAlpha eliminates these values. In this case, it will not do what you want.
    If it works the other way around (extracting values that aren't in the alphanumeric list), you'll get the result of your request, but I don't think so.
    After all, it's pretty easy to try.
    Open a table with two fields. Check for length when returning PurchName values. If the lengths are different, it means that strAlpha worked on these records. If you save it in the table and check the values in the two fields, you can see if it does what you want.

    while select nameTable
    where nameTable.PurchName
    {
        strAlhhaValue = strAlpha(nameTable.PurchName);
        
        if(strlen(strAlhhaValue) != strlen(nameTable.PurchName))
        {
            newTable.AlhhaValue = strAlhhaValue;
            newTable.NameValue  = nameTable.PurchName;
            newTable.insert();
        }
    
    }

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 613

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 455 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 292 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans