Latest web development tutorials

Fungsi VBScript rtrim

VBScript Referensi Lengkap VBScript Referensi

Rtrim berfungsi untuk menghilangkan kanan kotak.

Tip: Lihat ltrim dan Potong fungsi.

tatabahasa

RTrim(string)

参数 描述
string 必需。字符串表达式。

contoh

contoh

<script type="text/vbscript">

fname=" Jack "
document.write("Hello" & RTrim(fname) & "and welcome.")

</script>

Contoh output di atas:

Hello Jackand welcome.

Coba »

VBScript Referensi Lengkap VBScript Referensi