• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Can you make a words is censored?

Explorer ,
Dec 21, 2022 Dec 21, 2022

Copy link to clipboard

Copied

HI! i need help, i want to make one word is censored.

So, when i write/type "This is look good", i want word "look" is censored to "This is **** good".

 

Example code:

trace("Hi! my name is black") // But i wanna the outuput is "Hi! my name is *****"
TOPICS
ActionScript , Code

Views

128

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 21, 2022 Dec 21, 2022

Copy link to clipboard

Copied

LATEST

use split/join.  

 

if you need details, is this js or as3 (though code os very similar for both).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines