Back

#string

3 APIs with this tag

Pad API

Pad and align strings to a target width. The pad endpoint adds a fill character to the start, end, or both sides of a value until it reaches the width you ask for — zero-pad a number (7 → 007), right-align a price column, centre a heading, or build a fixed-width field — with any fill string (space, 0, dash, dots) and an optional truncate flag to cut values that are already too long. The align endpoint takes a whole list of lines (or newline-separated text) and pads every line to a common width, so columns line up in fixed-width tables, ASCII layouts, receipts, invoices and logs. Width is counted in Unicode code points, so emoji and accented letters each count as one and never get split. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This pads to a width; to wrap long text across lines use a word-wrap API, and to convert between case styles use a text-case API.

api.oanor.com/pad-api

STRING API

The STRING protein–protein interaction database as an API — the curated and predicted network of functional associations between proteins, powered by the official STRING API. Resolve gene or protein names to STRING identifiers with annotations; get a protein's top interaction partners with a combined confidence score and per-channel evidence (experimental, curated databases, co-expression, text-mining, gene fusion, neighbourhood and co-occurrence); build the interaction network among a set of proteins as scored edges; run functional enrichment of a gene set over Gene Ontology, KEGG, Reactome, Pfam, InterPro and more with p-values and false-discovery rates; and score homology between proteins. Covers 12,000+ organisms (default human, NCBI taxon 9606). Ideal for systems-biology and network-biology pipelines, gene-set and pathway analysis, drug-target and disease-gene research, and bioinformatics dashboards.

api.oanor.com/string-api

Text Tools API

A fast, fully-local text-utilities toolkit: convert between 10 case styles (upper, lower, title, sentence, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case), generate URL-friendly slugs, compute text statistics (word, character, sentence, line and paragraph counts, average word length and reading time), and produce lorem-ipsum placeholder text by words, sentences or paragraphs. Pure server-side compute, no third-party upstream, so responses are instant and always available. Ideal for CMS, editors, developer tools, forms and content pipelines.

api.oanor.com/text-api