テキスト

大文字/小文字 TitleCase

通常のテキスト、文字列、または変数をTitleCaseに変換するための、無料で即座に使えるオンラインツールです。

入力テキスト
title-case の結果
100%安全
高速変換
高精度

無料オンラインTitleCaseコンバーター

当社の文字列フォーマットツールは、通常のテキスト、文章、またはコード変数を即座にTitleCaseに変換します。コンテンツを貼り付けるだけで、スペースや大文字小文字を自動的に処理します。

変換方法

1. 大文字/小文字 テキストを貼り付け

入力エリアに 大文字/小文字 の内容を貼り付けるか入力してください。

2. 変換プロセス

ツールが自動的に最適な設定でテキストを TitleCase 形式に変換します。

3. TitleCase をコピー

変換が完了しました。結果をクリップボードに直接コピーできます。

よくある質問

変換仕様

入力大文字/小文字
出力TitleCase
安全性HTTPS / 自動削除
価格
無料

コードの使用

titleCase

Converts the input string to title case by first lowercasing the entire string, then capitalizing the first letter of each word. Word boundaries are determined by the `\b` regex anchor, so hyphenated words and other non-alphabetic separators only trigger capitalization at the start of each word boundary segment.

パラメータ

名前説明
textstringThe input string.

戻り値

stringThe title cased string.
npm i @razomy/string-case
import {titleCase} from '@razomy/string-case';

titleCase('foo bar');
// => Foo Bar

titleCase('HELLO WORLD');
// => Hello World

titleCase('one-two');
// => One-two