mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-11-07 09:24:55 +05:30
19 lines
889 B
TypeScript
19 lines
889 B
TypeScript
import { defineTool } from '@tools/defineTool';
|
|
import { lazy } from 'react';
|
|
// import image from '@assets/text.png';
|
|
|
|
export const tool = defineTool('string', {
|
|
name: 'Extract substring',
|
|
path: 'extract-substring',
|
|
icon: 'material-symbols-light:content-cut',
|
|
description:
|
|
"World's simplest browser-based utility for extracting substrings from text. Input your text and specify start and end positions to extract the desired portion. Perfect for data processing, text analysis, or extracting specific content from larger text blocks.",
|
|
shortDescription: 'Extract a portion of text between specified positions',
|
|
keywords: ['extract', 'substring'],
|
|
component: lazy(() => import('./index')),
|
|
i18n: {
|
|
name: 'string.extractSubstring.name',
|
|
description: 'string.extractSubstring.description',
|
|
shortDescription: 'string.extractSubstring.shortDescription'
|
|
}
|
|
});
|