import {functions, Integer} from "@foundry/functions-api";

// Uncomment the import statement below to start importing object types
// import { Objects, ExampleDataAircraft } from "@foundry/ontology-api";

export class MyFunctions {
    @Function()
    public  barcodeCleaner(Str: string): string {
        const newbarcodecleaner = Str.substring(0,7)
        return newbarcodecleaner
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: